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.
Summary: | Compile classpath for tests not the same in ant and in the IDE | ||
---|---|---|---|
Product: | apisupport | Reporter: | Jan Lahoda <jlahoda> |
Component: | Project | Assignee: | Martin Kozeny <mkozeny> |
Status: | REOPENED --- | ||
Severity: | blocker | CC: | dkonecny, jglick, tzezula |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 121950 | ||
Attachments: | Sample project (note that it is *not* the same project as in issue #165444). |
Description
Jan Lahoda
2009-05-18 20:27:14 UTC
Created attachment 82349 [details]
Sample project (note that it is *not* the same project as in issue #165444).
Looks like harness CP is correct, according to harness README, both runtime and compile CP for tests should contain module.run.classpath, I'll fix apisupport. However I wonder if it is really necessary to have such a huge test classpath, why not just direct dependencies? core-main #69d8113c117b Integrated into 'main-golden', will be available in build *200905290201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/69d8113c117b User: Richard Michalsky <rmichalsky@netbeans.org> Log: #165446: fixing test CPs according to harness spec I think it was the harness that was wrong. README said nothing about nonrecursive compile dependencies but intuitively they should *not* pull in the module's transitive run CP; nor should the test compile CP include the module's run CP as in this example. The current setup leads to poor performance as the compile CP of e.g. web.jsf/test/qa-functional/src is enormous. I will see if I can fix the harness and apisupport to match it. (Workaround is probably to move all functional tests into web.kit so they do not bother regular developers.) |