I've been trying for some time now to define a target that will run my
newly built project. The problem I'm running into is that I can't figure
out how to run a jar file from ant.
<target name="run">
<java classname="what goes here?" fork="yes" dir="${dist}/lib">
<classpath refid="project-classpath"/>
</java>
</target>
The jar file is named: Name-${DSTAMP}.jar. From the command line I can
run it like this:
java -jar Name-20010406.jar
Any help on running the jar from ant would be appreciated.
NOTE: I'm using jdk 1.3.0_02 on Linux
Ant version 1.3 compiled on March 22 2001
Thanks,
--Isaac Sparrow
--------------------------
Staff Engineer
VisiComp, Inc.
http://www.visicomp.com