Skip to content

Commit

Permalink
Added support for "ant run": with this command, and compiles, then ru…
Browse files Browse the repository at this point in the history
…ns if compilation was successful.
  • Loading branch information
Pierre-Luc Paour committed Sep 4, 2002
1 parent d0f2d4f commit 94c797a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.xml
Expand Up @@ -15,7 +15,7 @@
</target>

<target name="compile" depends="init"
description="compile the source " >
description="compile the source" >
<!-- Compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}"
includes="com/**,HTTPClient/**"
Expand All @@ -25,6 +25,13 @@
<copy file="${src}/remoteAbout.gif" todir="${build}" />
</target>

<target name="run" depends="compile"
description="compile then run" >

<java classname="com.gallery.GalleryRemote.GalleryRemote"
classpath="${build}" fork="true" />
</target>

<target name="clean"
description="clean up" >
<!-- Delete the ${build} and ${dist} directory trees -->
Expand Down

0 comments on commit 94c797a

Please sign in to comment.