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 5651] New: - apply task w/ skip and parallel works wrong
Date Wed, 02 Jan 2002 05:16:40 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=5651>.
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=5651

apply task w/ skip and parallel works wrong

           Summary: apply task w/ skip and parallel works wrong
           Product: Ant
           Version: 1.4.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: luke@quiq.com


The "apply" task behaves differently from what you would expect when 
the "skipemptyfilesets" and "parallel" attributes are both set to true.  When 
there are no files in the file set, it emits a nice message saying so, but then 
it turns around and executes the program anyway.

This should be addressed in ExecuteOn.java, by replacing the test on line 234 
with: ( parallel && (!skipEmpty || fileNames.size() > 0) )

--
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