https://issues.apache.org/bugzilla/show_bug.cgi?id=49420
Summary: <subant> scans excluded directories
Product: Ant
Version: 1.8.1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [email protected]
most likely the culprit is DirectoryScanner and not subant. For background see
<http://mail-archives.apache.org/mod_mbox/ant-user/201006.mbox/%[email protected]%3e>
I can reproduce this:
ste...@machine:/tmp/testbed$ mkdir -p .svn/foo/bar
ste...@machine:/tmp/testbed$ mkdir -p dummy/.svn/foo/bar
ste...@machine:/tmp/testbed$ echo '<project><target
name="hello"><echo>hello</echo></target></project>' > dummy/sub.xml
ste...@machine:/tmp/testbed$ echo '<project><property name="def"
value="true"/><subant target="hello"><fileset dir="." includes="**/sub.xml"
defaultexcludes="${def}"/></subant></project>' > build.xml
ste...@machine:/tmp/testbed$ strace -f ant 2>&1 | fgrep .svn
[pid 19650] open("/tmp/testbed/dummy/.svn",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 17
[pid 19650] open("/tmp/testbed/dummy/.svn/foo",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 17
[pid 19650] open("/tmp/testbed/dummy/.svn/foo/bar",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 17
[pid 19650] open("/tmp/testbed/.svn",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 17
[pid 19650] open("/tmp/testbed/.svn/foo",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 17
[pid 19650] open("/tmp/testbed/.svn/foo/bar",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 17
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.