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.
It would be great if the framework would provide ProjectsDecoratorHid.java as a friend api. Other modules could build it through the <ant> task and put it to their classpath instead of copying the source file from the 'HOW-TO Develop Netbeans Projects' page. IMHO it would significantly simplify to keep the file up to date and we would have one place for setting up the projects environment of xtests. A similar solution is currently used for patched classes. But it has not been mentioned in the how-to document yet.
Agreed. Ideally this support should end up in junit module alongside the NbTestCase and other stuff. But it's project specific which might be a problem. Anyway, in the meantime I will create projects/core/test/lib and put PDH in there. There will be also ant script which you can run to compile this test library.
Done. Use the org.netbeans.test.projects.MakeupModule class from <cvs>/projects/core/test/libs/src root. There is ant script <cvs>/projects/core/test/libs/build.xml which targets 'netbeans' and 'clean' can be used to build/clean the test/libs classes. Simply call them from your tests script and add the <cvs>/projects/core/test/libs/src folder on compilation and execution classpath of your tests. I will also update the cookbook to reflect this change.
Verified, it works.
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as CLOSED.