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

Allow target calls in same/global context

           Summary: Allow target calls in same/global context
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Build Process
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Building targets in form of subroutines usually enhances readability. By now, 
one can "call" those sub-targets by putting them in the depends argument. 
Recently, I often want to first do some tests for requirements before running a 
list of sub-targets. Doing so, each subroutine has to have an unless or if 
argument to check on. Ant produces output for each target entered, which 
results in a large list of target names being printed, also the unless or if 
matched.
Using antcall does not help, as the context is changed and dependencies have to 
be redone for each sub target.
Hence, it would be nice to have something like <antcall .. newcontext="no"/> to 
stay in the same context. This also includes the inheritXYZ="yes".

.sz

Reply via email to