> i have a root directory.
>
[quoted text clipped - 22 lines]
> </classpath>
> </java>
the class has been compiled.
i have used the <javac tag in my build.xml. and it has been
compiled.
how to run the code ?
i have these peoperties.
<property name="src.dir" value="src"/>
<property name="classes.dir" value="classes"/>
<property name="lib.dir" value="lib"/>
what should i do to run a java program ?
in this example from the manual :
-------------------------
<java classname="Main">
<classpath>
<pathelement location="lots of jars"/>
<pathelement path="${java.class.path}"/>
</classpath>
</java>
what is java.class.path ? what should i write in my build.xml for this
?
what is location=? i have lots of jars in the lib directory. how do i
use it here ?
to run a java program in Ant , is it necessary to make JAR first ?
can you please provide a sample example build.xml about running a
java program ?
thank you
i have a lib
> > i have a root directory.
> >
[quoted text clipped - 24 lines]
> >
> YOu have to compile it first.