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=4347>. 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=4347 Apply parallel ignores skipemptyfilesets Summary: Apply parallel ignores skipemptyfilesets Product: Ant Version: 1.4.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Apply with skipemptyfilesets="yes", parallel="yes" runs its command even when there are no files in the fileset. An attachment to bug 1763 checks (files.size() > 0) in case of parallel processing, making it always skip empty file sets. I do not see the logic in the checked-in source. To reproduce, run the following ANT code in a directory with no *. a files: <project default="build" > <target name="build"> <apply executable="cmd.exe" dest="." failonerror="yes" skipemptyfilesets="yes" parallel="yes"> <arg value="/c" /> <arg value="echo" /> <srcfile /> <fileset dir="." includes="*.a" /> <mapper type="glob" from="*.a" to="*.b"/> </apply> </target> </project> Observed output: Buildfile: build.xml build: [apply] Skipping fileset for directory C:\TEMP\ant. It is empty. [apply] ECHO is on. BUILD SUCCESSFUL Total time: 1 second
