DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29797>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29797 Calling Ant from other Java Applications Summary: Calling Ant from other Java Applications Product: Ant Version: unspecified Platform: All OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] This is an enhancment request that should help folks who use Ant from their own Java applications. My example is simple: I have written a build java application that uses Ant to drive the build portion of the build but uses java servlets to drive other important build related processes that are important for my users. In all previous versions of Ant, including Ant 1.5.x we copied the Main.java class into an AntMain.java replaced system.exit(0)'s with returns and called this class from our application. It works perfectly for us. We get to see all the exceptions etc. So my enhancement request here is to formalize a way to call java from other java apps (asumming that anything passed by the command line can be passed as well) and make this an integral part of future releases. It means a lot to developers like myself who like the tight integration this method provides, especially the possibility to handle any exceptions that could possibly occur while running Ant build files. Please feel free to contact me for any additional details at the cc email provided with the req. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]