You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2016/05/22 15:17:58 UTC
[Bug 59402] Order of attributes is significant in fileset
https://bz.apache.org/bugzilla/show_bug.cgi?id=59402
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Target Milestone|--- |1.9.8
Resolution|--- |FIXED
--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
With commit de5b405 you are no longer able to set file and dir at the same
time, taking this undefined behavior away. In your case it depended on the
order of attributes, but it may as well depend on the XML parser being used (as
there is no defined order of XML attributes once the document has been read).
If you want to look for file1.txt in dir1 you need to use the includes
attribute like in
<zipfileset includes="file1.txt" dir="dir1"/>
Fixed for 1.9.8 and 1.10.0
--
You are receiving this mail because:
You are the assignee for the bug.