You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/03/07 13:22:44 UTC

DO NOT REPLY [Bug 38878] New: - fileset and copy create infinite loop

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

           Summary: fileset and copy create infinite loop
           Product: Ant
           Version: 1.6.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: noelgrandin@gmail.com


The following buildfile appears to get itself stuck in some kind of infinite
loop, and the build never completes (i.e. the java process continues to use CPU,
but no activity occurs).

<?xml version="1.0" encoding="UTF-8"?>

<project basedir="." default="createInstall" name="Test">

   <fileset dir="V:\" id="peralex.libs">
      <filename name="Peralex\PDFSLibs.jar"/>
   </fileset>
    
   <target name="createInstall">
      <copy todir="C:\Incoming" overwrite="true" preservelastmodified="true">
        <fileset refid="peralex.libs" />
      </copy>
   </target>

</project>

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


DO NOT REPLY [Bug 38878] - fileset and copy create infinite loop

Posted by bu...@apache.org.
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


noelgrandin@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From noelgrandin@gmail.com  2006-03-08 07:37 -------
Thanks, the supplied solution fixes my problem.

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


DO NOT REPLY [Bug 38878] - fileset and copy create infinite loop

Posted by bu...@apache.org.
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


DO NOT REPLY [Bug 38878] - fileset and copy create infinite loop

Posted by bu...@apache.org.
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


gudnabrsam@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From gudnabrsam@yahoo.com  2006-03-07 15:23 -------
unless you can get us a standalone example to evoke the behavior you describe,
there's not a whole lot that can be done.  I would guess that what you are
seeing is triggered by some environmental factor, possibly on your Windows network?

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