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 196522 - Build progress calculation broken when some goals fork builds
Summary: Build progress calculation broken when some goals fork builds
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 192200
  Show dependency tree
 
Reported: 2011-03-09 21:17 UTC by Jesse Glick
Modified: 2011-03-10 14:22 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 2011-03-09 21:17:26 UTC
ExecutionEventLogger.forkStarted/Succeeded print ">>> ..." and "<<< ..." but these are interpreted backwards by CommandLineOutputHandler. The result is that when building the Apache CXF reactor, which forks PMD execution in each module:

------------------------------------------------------------------------
Building Apache CXF Common Schemas 2.3.2
------------------------------------------------------------------------
[checkstyle:checkstyle]
Starting audit...
Audit done.
>>> maven-pmd-plugin:2.5:check (validate) @ cxf-common-schemas >>>
[pmd:pmd]
<<< maven-pmd-plugin:2.5:check (validate) @ cxf-common-schemas <<<
[pmd:check]

the progress bar is stuck at 3% for the whole build.
Comment 1 Jesse Glick 2011-03-09 21:18:16 UTC
core-main #354de14710db
Comment 2 Quality Engineering 2011-03-10 09:36:18 UTC
Integrated into 'main-golden', will be available in build *201103100400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/354de14710db
User: Jesse Glick <jglick@netbeans.org>
Log: #196522: fork count messages are backwards.