This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The j2ee/ddapi tests started failing after the recent change in the test infrastructure, all tests fail because the web.xml file used in the tests is not found. Not sure what is causing the problem, the tests pass locally for me.
I'm sorry for so late answer. I found the problem. test/build.xml contains: <target name="init" depends="default.init"> <delete file="${basedir}/unit/data/web.xml"/> <delete file="${basedir}/unit/data/invalid/web.xml"/> <copy file="${basedir}/unit/data/web_org.xml" tofile="${basedir}/unit/data/web.xml"/> <copy file="${basedir}/unit/data/invalid/web_org.xml" tofile="${basedir}/unit/data/invalid/web.xml"/> </target> You depends on nbcvs structure, therefore it doesn't work. Please initialize temporary files in code of TestCases. You can you NbTestCase.getDataDir() to access to copy of unit/data or use NbTestCase.getWorkdir() to access to temporary files. The workdir is stored after test execution and you can see it in html result.
Thanks for looking into this, should be fixed in trunk now. http://j2ee.netbeans.org/source/browse/j2ee/ddapi/test/build.xml?r1=1.2&r2=1.3 http://j2ee.netbeans.org/source/browse/j2ee/ddapi/test/unit/src/org/netbeans/ modules/j2ee/dd/api/web/DDApiTest.java?r1=1.5&r2=1.6