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.
Currently apisupport/project defines no compile classpath for functional tests (just the boot classpath). If we want code completion etc. to work for functional test sources, it should be added. Classpath for functional tests consist of: test.qa-functional.compile.cp (assembled in xtest-qa-functional.xml) compile.destdir (defined by XTest) junit.classpath (defined by XTest) compile.destdir=build/test/${xtest.testtype}/classes junit.classpath=${xtest.home}/lib/junit.jar:${xtest.home}/lib/nbjunit.jar
It will be very useful....
committed Up-To-Date 1.29 apisupport/project/src/org/netbeans/modules/apisupport/project/ClassPathProviderImpl.java committed Up-To-Date 1.2 apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/ClassPathProviderImplTest.java
Thanks, it works. I also added xtest/lib/nbjunit-ide.jar to the classpath. /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ClassPathProviderImpl.java,v <-- ClassPathProviderImpl.java new revision: 1.30; previous revision: 1.29