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 2008/04/11 23:18:44 UTC
DO NOT REPLY [Bug 44812] New: ~ doesn't work in excludes
https://issues.apache.org/bugzilla/show_bug.cgi?id=44812
Summary: ~ doesn't work in excludes
Product: Ant
Version: 1.7.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: notifications@ant.apache.org
ReportedBy: patricia_shan8@hotmail.com
I have the following
<property name="excludes.files"
value="**/CVS/**,**/unused/**,**/old/**,**/eclipse/**,
**/Not*Being*Used/**,**/~*" />
I also tried it using
<property name="excludes.files"
value="**/CVS/**,**/unused/**,**/old/**,**/eclipse/**,
**/Not*Being*Used/**,~*" />
..................
<copy todir="${help.local.home}">
<fileset dir="${help.accp.home}"
casesensitive="false" >
<exclude name="${excludes.files}" />
</fileset>
</copy>
..................
But it still copied a file whose file name started with "~"
This might be address in the Ant manual, but it appears that all search
engines, including the one used by the Ant manual (Google) ignore special
characters, including "<".
This is a real handicap for Ant.
--
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 44812] ~ doesn't work in excludes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44812
Dominique Devienne <dd...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Dominique Devienne <dd...@gmail.com> 2008-04-11 15:19:30 PST ---
This is not a bug. <exclude name="pattern"/> accepts a single 'pattern', not a
pattern-list. It's <fileset excludes="pattern-list"/> which accepts a
comma-separated list of exclude patterns.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.