Author: ekoneil Date: Mon Aug 15 21:08:11 2005 New Revision: 232931 URL: http://svn.apache.org/viewcvs?rev=232931&view=rev Log: Add "no.network" option to the "revision.label" target. This is quite convenient when working on a plane without a network.
To use, run: ant <targets> -Dno.network=true BB: self DRT: Beehive pass Modified: beehive/trunk/build.xml Modified: beehive/trunk/build.xml URL: http://svn.apache.org/viewcvs/beehive/trunk/build.xml?rev=232931&r1=232930&r2=232931&view=diff ============================================================================== --- beehive/trunk/build.xml (original) +++ beehive/trunk/build.xml Mon Aug 15 21:08:11 2005 @@ -69,7 +69,7 @@ <ant antfile="samples/build.xml" target="clean" inheritAll="false"/> </target> - <target name="revision.label" description="Creates svn revision label file"> + <target name="revision.label" unless="no.network" description="Creates svn revision label file"> <mkdir dir="${beehive.home}/build"/> <exec executable="svnversion" outputproperty="svn.revision" failifexecutionfails="false"> <arg value="."/> @@ -305,4 +305,4 @@ <echo>manager role appears to be defined in ${os.CATALINA_HOME}/conf/tomcat-users.xml</echo> </target> -</project> +</project> \ No newline at end of file