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

Summary: Build progress calculation broken when some goals fork builds
Product: projects Reporter: Jesse Glick <jglick>
Component: MavenAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 192200    

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.