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 2009/04/29 15:49:43 UTC
DO NOT REPLY [Bug 47118] New: chmod dir attribute not equivalent to
implicit fileset wrt includes
https://issues.apache.org/bugzilla/show_bug.cgi?id=47118
Summary: chmod dir attribute not equivalent to implicit fileset
wrt includes
Product: Ant
Version: 1.7.1
Platform: PC
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: adam_lounds@hotmail.com
<chmod dir="mydir" perm="ugo+x" /> should be equivalent to
<chmod perm="ugo+x">
<fileset dir="mydir" />
</chmod>
as it has an implicit fileset according to the docs.
However, the second example chmods everything in the dir (the expected
behaviour as per the fileset docs), the first doesn't and I need to use
<chmod dir="mydir" perm="ugo+x" includes="*" /> in order to get the same
functionality.
Fileset docs: includes comma- or space-separated list of patterns of files
that must be included; all files are included when omitted.
Chmod docs: includes comma- or space-separated list of patterns of files
that must be included.
(admittedly no mention of default behaviour when includes is omitted in chmod
docs, but docs should be explicit if behaviour is not derived from fileset)
Thx,
--
Adam
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47118] chmod dir attribute not equivalent to
implicit fileset wrt includes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47118
--- Comment #1 from adam <ad...@hotmail.com> 2009-04-29 06:52:40 PST ---
>From looking at the source, looks like this is explicit behaviour to support
ant < 1.1.
Could this be deprecated or at the very least mentioned in the task docs?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47118] chmod dir attribute not equivalent to
implicit fileset wrt includes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47118
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
Target Milestone|--- |1.8.0
--- Comment #2 from Stefan Bodewig <bo...@apache.org> 2009-05-14 05:50:52 PST ---
*** This bug has been marked as a duplicate of bug 41054 ***
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47118] chmod dir attribute not equivalent to
implicit fileset wrt includes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47118
adam <ad...@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P4
Severity|normal |minor
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.