G
gk
i have a root directory.
this root directory has
com.web package and compiled classes and a "lib" directory
c:\ROOT\com\web
c:\ROOT\lib
c:\ROOT\Main.java
i have a java program Main.java at C:\ROOT which imports those
packaged classes .
i want to run this Main.java program.
How do i write my build.xml ?
the below does not work
<java classname="Main">
<classpath>
<pathelement location="lots of jars"/>
<pathelement path="${java.class.path}"/>
</classpath>
</java>
this root directory has
com.web package and compiled classes and a "lib" directory
c:\ROOT\com\web
c:\ROOT\lib
c:\ROOT\Main.java
i have a java program Main.java at C:\ROOT which imports those
packaged classes .
i want to run this Main.java program.
How do i write my build.xml ?
the below does not work
<java classname="Main">
<classpath>
<pathelement location="lots of jars"/>
<pathelement path="${java.class.path}"/>
</classpath>
</java>