ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49420] New: <subant> scans excluded directories
Date Thu, 10 Jun 2010 11:05:19 GMT
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: notifications@ant.apache.org
        ReportedBy: bodewig@apache.org


most likely the culprit is DirectoryScanner and not subant.  For background see
<http://mail-archives.apache.org/mod_mbox/ant-user/201006.mbox/%3C28829117.post@talk.nabble.com%3E>

I can reproduce this:

stefan@machine:/tmp/testbed$ mkdir -p .svn/foo/bar
stefan@machine:/tmp/testbed$ mkdir -p dummy/.svn/foo/bar
stefan@machine:/tmp/testbed$ echo '<project><target
name="hello"><echo>hello</echo></target></project>' > dummy/sub.xml
stefan@machine:/tmp/testbed$ echo '<project><property name="def"
value="true"/><subant target="hello"><fileset dir="." includes="**/sub.xml"
defaultexcludes="${def}"/></subant></project>' > build.xml
stefan@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.

Mime
View raw message