backported fix from RC1
authorAkos Frohner <akos.frohner@cern.ch>
Thu, 24 Mar 2005 11:03:03 +0000 (11:03 +0000)
committerAkos Frohner <akos.frohner@cern.ch>
Thu, 24 Mar 2005 11:03:03 +0000 (11:03 +0000)
build.xml

index ba4caf3..c9cb1eb 100644 (file)
--- a/build.xml
+++ b/build.xml
     <target name="dist" depends="stage"/>
 
     <target name="stage" depends="envcheck">
-        <echo>path:    ${stage.dir}/share/test/certificates</echo>
-        <echo>path:    "${module.dir}/bin"</echo>
+        <!--
+           By setting empty value to this property in a user's 
+           glite.build.properties file, one can skip the generation
+           of all the certificates, and have only the ones necessary
+           for simple client-server tests.
+         -->
+        <property name="glite.security.stage.all.certs" value="--all"/>
+        <echo>Staging test certificates to:</echo>
+        <echo>${stage.dir}/share/test/certificates</echo>
         <exec  executable="${module.dir}/bin/generate-test-certificates.sh">  
-            <arg line="--all ${stage.dir}/share/test/certificates"/>
+            <arg line="${glite.security.stage.all.certs} ${stage.dir}/share/test/certificates"/>
         </exec>
     </target>