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 38878] - fileset and copy create infinite loop
Date Tue, 07 Mar 2006 16:20:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38878>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38878





------- Additional Comments From gudnabrsam@yahoo.com  2006-03-07 16:20 -------
Your example uses the <filename> selector.  The thing to know about selectors is
that they are applied after the directories have been scanned.  So
<fileset dir="V:\"><selector refid="anyselector"></fileset> means:  scan
V:\ and
for each file found check whether it matches the selector.  So you're probably
not seeing an infinite loop but a really long scan, especially because you're
scanning across the network here as well (I'm assuming V:\ is big).
For name-based in/exclusions you are better off using patternsets.  Changing
your fileset to
<fileset dir="V:\"><includes="Peralex\PDFSLibs.jar" /></fileset>, or
<fileset dir="V:\Peralex"><includes="PDFSLibs.jar" /></fileset>, or
<fileset file="V:\Peralex\PDFSLibs.jar" /> may solve your problem.

Good luck,
Matt

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message