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 8895] New: - ant and/or antcall should support forking
Date Wed, 08 May 2002 02:14:25 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=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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message