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
--
s the ant target, which invokes a class from test package
--
View this message in context:
http://ant.1045680.n5.nabble.com/Running-Ant-target-from-a-jar-tp3285943p3287407.html
Sent from the Ant - Users mailing list archive at Nabble.com.
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
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.
--
View this message in context:
http://ant.1045680.n5.nabble.com/Running-Ant-target-from-a-jar