ant java jar classpath problem -
<target name="results"> <echo message="calculating qi" /> <java jar="jmt.jar" fork="true" failonerror="true" maxmemory="1024m" classpath="jmt/jmt"> <arg value="-name:kis"/> <arg value="-results:console"/> <arg value="../alljavas.jar"/> </java> </target>
i want folder tmp run jar file in folder jmt/jmt. must run inside jmt/jmt folder becouse of dependencies files.
i can run <java jar="jmt/jmt/jmt.jar"
dependencies files not ok. try use classpath not working. doing wrong?
use dir="jmt/jmt"
attribute specify folder launch java process in, , use jar="jmt/jmt/jmt.jar"
specify jar. don't need classpath attribute @ all.
Comments
Post a Comment