On 2010-06-09, Stefan Bodewig wrote:
> This sounds like a bug.
OK, let me try to 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$ ant
Buildfile: /tmp/testbed/build.xml
hello:
[echo] hello
BUILD SUCCESSFUL
Total time: 1 second
so we have a build file build.xml invoking sub.xml via subant and it
works. We also have two .svn subdirs and a property def controlling
default excludes.
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
this confirms your truss findings. I've opened
<https://issues.apache.org/bugzilla/show_bug.cgi?id=49420>
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]