ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <qazw...@gmail.com>
Subject Re: Running Ant target from a jar
Date Tue, 30 Nov 2010 19:46:45 GMT
On Tue, Nov 30, 2010 at 6:39 AM, eboy.test <kchintal@edu.uni-klu.ac.at> 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 specify the JAR in
your CLASSPATH, and the classfiles it contains are available for you
to run.

-- 
David Weintraub
qazwart@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message