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.

Bug 42331 - Add compile classpath for functional tests
Summary: Add compile classpath for functional tests
Status: CLOSED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 42680
  Show dependency tree
 
Reported: 2004-04-22 11:11 UTC by Jiri Skrivanek
Modified: 2006-03-24 10:35 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2004-04-22 11:11:07 UTC
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
Comment 1 Marian Mirilovic 2004-05-10 15:20:52 UTC
It will be very useful....
Comment 2 Jesse Glick 2004-06-27 02:12:29 UTC
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
Comment 3 Jiri Skrivanek 2004-07-01 15:42:58 UTC
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