Re: Running Ant target from a jar

2010-12-01 Thread Michael Ludwig
eboy.test schrieb am 01.12.2010 um 01:50 (-0800): > I want something like > > e.g. ant -jar test.jar rundemo > > here rundemo is the ant target, which invokes a class from test > package Have you tried running ant -h ? It would point you to -lib. -- Michael Ludwig --

Re: Running Ant target from a jar

2010-12-01 Thread eboy.test
David Weintraub wrote: > > On Tue, Nov 30, 2010 at 6:39 AM, eboy.test > wrote: >> >> I am using a ant build file to run targets (ant targets) in a Java API. >> Now, >> i want to make a jar out of the API and i want to know whether i will be >> able to run the targets now with the jar. > > A ja

Re: Running Ant target from a jar

2010-11-30 Thread David Weintraub
On Tue, Nov 30, 2010 at 6:39 AM, eboy.test wrote: > > I am using a ant build file to run targets (ant targets) in a Java API. Now, > i want to make a jar out of the API and i want to know whether i will be > able to run the targets now with the jar. A jarfile is just like a directory in Java. You