hai, i am a newbies with ant.
i would like run my jar file from ant. but my jar need another jar, below this my ant code : <target name="jar" depends="init" > <jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${classes.dir}" excludes=""> <manifest> <attribute name="Main-Class" value="com.ibs.compare.ChevronTool" /> <attribute name="Class-Path" value="./common-ibs.jar;./dfc.jar"/> </manifest> </jar> </target> <target name="run" depends="jar"> <java jar="${jar.dir}/${ant.project.name}.jar" fork="true"/> </target> all jar that will be needed i put at same folder with my output jar -- Regards, Andy Susanto,S.Kom ====================================================== CV : http://www.linkedin.com/pub/andy-susanto/7/533/baa --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org