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 40943] - Fileset does not find some file descriptions
Date Fri, 10 Nov 2006 12:14:12 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=40943>.
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=40943


stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From stevel@apache.org  2006-11-10 04:14 -------
This isnt a bug. This is the kind of thing to raise on the user list, with a
subject like "why isnt my fileset working?"

The underlying problem is a difference between user expectations and how ant
interprets <include name>. Put succinctly: the name attribute is not a list, is
not a pattern, it is a single filename.

1. No files being picked up.
            <fileset dir="${basedir}/VoxarLib/bin/Debug">
                <include name="BCDE.VoxarDicom.dll,BCDE.VoxarDicom.pdb"/>
            </fileset>

You are asking for the file "BCDE.VoxarDicom.dll,BCDE.VoxarDicom.pdb", which
doesnt exist. Stick with the second option.

2. Another problem occurs with another project: ...

the first task cannot work as stated (see #1). It shouldnt be copying anything.
The second task should be right. If you want to block duplicates creeping into a
zip, set duplicate="fail" and have ant halt the build if it gets attempted.

-steve

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