ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29797] New: - Calling Ant from other Java Applications
Date Fri, 25 Jun 2004 04:25:10 GMT
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: dev@ant.apache.org
        ReportedBy: debic@epiphany.com
                CC: debic@epiphany.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message