ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Byrden <>
Subject Re: Launch Ant build from Java
Date Fri, 25 Sep 2009 18:38:13 GMT

Here are the classes.  The entry point is main()  in


This is just a launcher, like the existing ANT launcher, and you
must specify the "main" class you want it to use, via a command
line option:

    -main    com.byrden.ant.launch.DavesMain

Also feed it any other command-line parameters that you have,
e.g. the target name, as Strings.

And remember to put any extra library JARs that you need on
your classpath, e.g. the commons JARs.


View raw message