DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4398>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4398

org.apache.tools.ant.Main's start method calls System.exit(0)

           Summary: org.apache.tools.ant.Main's start method calls
                    System.exit(0)
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The start method of the org.apache.tools.ant.Main object instantiates a Main 
object, calls runBuild, then calls System.exit(0).  Now, the JavaDoc of the 
method says "Entry point allowing for more options from other front ends", 
which is exactly what I want to do.  It all works fine, except that if anything 
goes wrong with the build it exits (arguably ok), and worse if everything works 
fine it exits too.

There might be a reason for the exit there, I'm not familiar enough with the 
code to know.

Thanks,
Matt

Reply via email to