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 173792 - Changing unit test libraries does not refresh classpath
Summary: Changing unit test libraries does not refresh classpath
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
: 173891 (view as bug list)
Depends on: 69440
Blocks: 171616
  Show dependency tree
 
Reported: 2009-10-05 19:11 UTC by Jesse Glick
Modified: 2009-10-16 10:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2009-10-05 19:11:14 UTC
Adding test libraries does not seem to cause the classpath for tests to be rescanned. You need to restart the IDE.
Removing test libraries does seem to trigger a rescan, oddly.

Debugging indicates that runInAtomicAction is true when Evaluator.configurationXmlChanged is called, so nothing happens.

Workaround is to edit project.xml in the text editor - can make a no-op change and save.
Comment 1 Jesse Glick 2009-10-06 16:29:45 UTC
*** Issue 173891 has been marked as a duplicate of this issue. ***
Comment 2 rmichalsky 2009-10-15 07:57:16 UTC
core-main #8dbd5a219900
Comment 3 Quality Engineering 2009-10-16 10:06:53 UTC
Integrated into 'main-golden', will be available in build *200910160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8dbd5a219900
User: Richard Michalsky <rmichalsky@netbeans.org>
Log: #173792: fixed re-scanning cp after test library has been added