Re: run a jar from ant

2010-02-20 Thread Antoine Levy-Lambert
Hi, in the snippet that you emailed, the jarfile attribute "build/acme.jar" is the jar for which you want to calculate the classpath to write in the manifest. refers to a path defined else where in the build file which can contain several jars or directories. For instance

Re: run a jar from ant

2010-02-19 Thread andy susanto
Can you show me ?, cause i see at an example it just use only one jar, how to added another jar that required -- Regrads, Andy Susanto,S.Kom == CV : http://www.linkedin.com/pub/andy-susanto/7/533/baa On Sat, Feb 20, 2010 at 5

Re: run a jar from ant

2010-02-19 Thread Antoine Levy Lambert
Hello Andy, there is an ant task ManifestClasspath which should help you get this classpath right. Antoine andy susanto wrote: hai, i would like run a jarfile. my jar file need an external jar, when i added inside manifest, when i try to run it from a command line, i got an error.

Re: run a jar from ant

2010-02-19 Thread andy susanto
hai, i would like run a jarfile. my jar file need an external jar, when i added inside manifest, when i try to run it from a command line, i got an error. cause i still a newbies to using an ant, actual i am always using an IDE to run my application -- Regrads, Andy Susanto,S.Kom ===

Re: run a jar from ant

2010-01-27 Thread Karsten Wutzke
Don't get me wrong, but what is your question? Karsten > 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 : > > > basedir="${classes.dir}" excludes=""> > > > > > >

run a jar from ant

2010-01-27 Thread andy susanto
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 : all jar that will be needed i put at same folder with m