ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ognjen Blagojevic <>
Subject Re: Include XML file
Date Fri, 26 Sep 2008 08:25:41 GMT
Nan Null wrote:
> I think you have a communication problem.

Yes, we did have, thanks for jumping in. :)

> Once you have the build.xml file, you can call (System.execute) Ant,
> passing in the path of the build file and the jsp.

Or it can be called directly from Java, using class, avoiding the call to the OS:

         String[] antArgs = {"targetName"};

Don't forget to put ant.jar and ant-launcher.jar in the classpath.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message