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 org.apache.tools.ant.launch.Launcher, avoiding the call to the OS:

        String[] antArgs = {"targetName"};
        Launcher.main(antArgs);

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

HTH,
-Ognjen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to