You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/05/08 04:14:25 UTC

DO NOT REPLY [Bug 8895] New: - ant and/or antcall should support forking

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=8895>.
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=8895

ant and/or antcall should support forking

           Summary: ant and/or antcall should support forking
           Product: Ant
           Version: 1.4.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: bslesins@best.com


It would be useful if either ant or antcall (or both) supported a fork parameter
and a classpath element.  This would allow ant to restart itself with a
different classpath.

In particular, I'd like to restart ant with a different classpath to run junit
tests.  Setting fork=true in the junit task causes a new VM to be created for
each test, when I'd rather restart the VM once and run all of the unit tests in
the same VM.

A workaround is to use a TestSuite, but then the test suite can't be interrupted
in the middle, and you don't get the same summary lines.  Also, perhaps the java
task could be used to restart ant, but that's less than obvious.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>