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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to