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 27154] New: - Sync-up Java Task API with ExecTask
Date Mon, 23 Feb 2004 12:13:06 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=27154>.
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=27154

Sync-up Java Task API with ExecTask

           Summary: Sync-up Java Task API with ExecTask
           Product: Ant
           Version: 1.6.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: gregor.heine@iona.com


In order to extend (subclass) the Java Task, it would be really helpful if it's
API were brought more in sync with the API of ExecTask. Specifically the
following changes:

- Make class member "cmdl" protected instead of private.
- Allow custom StreamHandlers via an overridable (protected) createHandler()
method that is called in fork(String[]) instead of directly calling
redirector.createHandler(). 
- Make the class member "redirector" protected so it can be subclassed (this is
needed in ExecTask as well).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message