NOTE: This is a correction, the run target should also depend on "jars" as
well as "build"
Description:
Added a run target to the Antidote build.xml file. Target executes Antidote
after a build, and doesn't require distribution targets to be executed.
Faster turn around during development.
Patch file:
Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-ant-antidote/build.xml,v
retrieving revision 1.4
diff -u -r1.4 build.xml
--- build.xml 8 Jan 2002 12:50:48 -0000 1.4
+++ build.xml 23 Jan 2002 19:17:10 -0000
@@ -234,6 +234,22 @@
</target>
<!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <!-- Runs Antidote after a Build, this is here to ease the dev cycle -->
+ <!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <target name="run" description="Runs Antidote after a build"
+ depends="build,jars" >
+ <java classname="org.apache.tools.ant.gui.Main"
+ fork="true">
+ <classpath>
+ <pathelement location="${build.lib}/antidote.jar"/>
+ <fileset dir="${lib.dir}">
+ <include name="**/*.jar"/>
+ </fileset>
+ </classpath>
+ </java>
+ </target>
+
+ <!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Installs ant -->
<!--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<target name="install" if="ant.install">
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>