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 4398] New: - org.apache.tools.ant.Main's start method calls System.exit(0)
Date Wed, 24 Oct 2001 15:53:02 GMT
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: ant-dev@jakarta.apache.org
        ReportedBy: mlegault@cplane.com


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

Mime
View raw message