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 2007/05/11 13:16:20 UTC
DO NOT REPLY [Bug 42392] New: - copy/flatten does not like filelist with empty dir attribute
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: noelgrandin@gmail.com
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 42392] - copy/flatten does not like filelist with empty dir attribute
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=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
peterreilly@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From peterreilly@apache.org 2007-05-11 04:25 -------
The filelist manual page says:
"""
Multiple files are specified as a list of files, relative to the specified
directory.
"""
Since windows does not have the concept of a root directory
you cannot use filelist in the mode you ask for.
Please send an email to ant user mailling
list on how to use ant 1.7.0 file resources
which can do what you want.
--
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