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

           Summary: copy/flatten does not like filelist with empty dir
                    attribute
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


I need to declare a filelist with an empty "dir" because the files are on
multiple volumes.

The following example:

<filelist dir="" id="peralex.libs">
  <file name="V:\HashTable.jar" />
  <file name="Z:\PDFSLibs.jar" />
</filelist>

<copy todir="C:\" overwrite="true" flatten="true" preservelastmodified="true">
  <filelist refid="peralex.libs" />
</copy>

Fails with a message like:

Z:\GRJ8000BuildScript.xml:406: The following error occurred while executing this
line:
Z:\GRJ8000BuildScript.xml:249: Failed to copy Z:\V:\HashTable.jar to C:
\HashTable.jar due to java.io.FileNotFoundException Z:\V:\HashTable.jar (The
filename, directory name, or volume label syntax is incorrect)

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to