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 175757 - [68cat] First build with code coverage fails
Summary: [68cat] First build with code coverage fails
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Codecoverage (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Schovanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 12:11 UTC by dynamite
Modified: 2009-11-02 07:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
verbose output from failed test run (222.41 KB, text/plain)
2009-10-30 12:12 UTC, dynamite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dynamite 2009-10-30 12:11:45 UTC
[ BUILD # : 200910281401 ]
[ JDK VERSION : 1.6.* ]

I have a project that contains a dependency upon another NetBeans project.  I have code coverage activated.  I make
some changes to my code and then run the tests.  The build of the main project fails because it cannot find any
dependencies with to the other dependent project.  The reason is that although this project gets rebuilt, ant fails to
find the jar for that project and so removes it from the list of jar dependencies that is uses for the main project.

Confusingly, this only happens the first time I try to run the tests after making changes.  The second, third etc runs
all succeed and the tests execute.  The problem also does not show if code coverage is deactivated.
Comment 1 dynamite 2009-10-30 12:12:39 UTC
Created attachment 90275 [details]
verbose output from failed test run