On 02/24/2012 12:12 AM, Stefan Bodewig wrote: > It is supposed to be used via ./build.sh antunit-tests. Ah. But when I do that, I get failures that I do not get when I use ./dist/bin/ant -lib lib/optional antunit-tests, e.g.: Build File: .../src/tests/antunit/bugfixes/br50866/br50866-test.xml Tests run: 1, Failures: 0, Errors: 2, Time elapsed: 0.055 sec Target: testinclude caused an ERROR Message: Target "middle.common" does not exist in the project "br50866". It is used from target "testinclude". took 0.005 sec caused an ERROR Message: Target "middle.common" does not exist in the project "br50866". It is used from target "testinclude". Build File: .../src/tests/antunit/bugfixes/bugzilla-43324-stackoverflow-test.xml Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.033 sec Target: testnested took 0.003 sec caused an ERROR at line 38, column 29 Message: Unable to delete directory /tmp/testinput/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base/A/base BTW this script also fails when run from another dir - which is a useful thing to do sometimes, as it finds things which rely on the CWD (as I did yesterday). > I'm not sure > how build.xml could detect you were not using the current trunk version > of Ant or some older build with the same version. I think it can and will try to fix it to do so in the trunk. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org