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: | Attempt to include nonexistent 'cobertura' cluster | ||
---|---|---|---|
Product: | apisupport | Reporter: | Jesse Glick <jglick> |
Component: | Harness | Assignee: | Jesse Glick <jglick> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | anebuzelsky, jtulach |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://hudson.apidesign.org/hudson/job/netbinox/310/console | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 185047, 188164 |
Description
Jesse Glick
2010-07-12 15:28:54 UTC
To reproduce: create a platform app, include entire platform cluster (not just subset), add the harness cluster, and build ZIP distribution. Should fail before fix .../harness/suite.xml:346: The following error occurred while executing this line: .../harness/suite.xml:381: Could not create .../build/rest.../cobertura/.lastModified but succeed afterwards (with ZIP to include full contents of platform and harness clusters as well as added suite cluster). Should also not be able to reproduce bug #185047 failure: uncheck harness cluster, uncheck platform cluster, check Startup in platform cluster, press Resolve Problems, clean, build zip => should create ZIP with just platform/{core,lib}/*.jar pseudomodules. core-main #ed27e8783245 Integrated into 'main-golden', will be available in build *201007130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ed27e8783245 User: Jesse Glick <jglick@netbeans.org> Log: #188601: Attempt to include nonexistent 'cobertura' cluster Bug #188164 rejected as a backport candidate. Again making a backport candidate, as it now blocks a P1. Yarda I would appreciate: - verification that fix works for netbinox - code review; the affected list should be a list of all clusters found among included files, which is calculated by looking for the parent dirs of either (a) config/Modules/*.xml, or (b) {lib,core}/*.jar, but now only if the parent dir is named platform*, and not e.g. harness/testcoverage/cobertura Fix works for Netbinox. Re. code review - I think your idea is sound. However I am not qualified to review "single line write only reg exp magic". I'd rather be just a dummy user and confirm that Netbinox build is fine now. The fix has been ported into the release691 branch. http://hg.netbeans.org/release691/rev/eb16888465af |