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 194090 - Use EventSpy for more reliable build progress tracking
Summary: Use EventSpy for more reliable build progress tracking
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Milos Kleint
Depends on: 206791
Blocks: 198650 206925 227541
  Show dependency tree
Reported: 2011-01-06 14:57 UTC by Jesse Glick
Modified: 2013-04-08 20:28 UTC (History)
1 user (show)

See Also:
Exception Reporter:

Sources of demo (2.09 KB, application/x-jar)
2011-06-01 00:02 UTC, Jesse Glick

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-01-06 14:57:00 UTC
For Maven 3.0.2+ it may be possible to run a forked CLI build yet get detailed execution events without having to parse text output. Needs investigation.
Comment 1 Jesse Glick 2011-06-01 00:02:35 UTC
Created attachment 108640 [details]
Sources of demo

See bug #198650 comment #4.
Comment 2 Jesse Glick 2011-11-28 22:06:10 UTC
Replacing MavenCommandLineExecutor.FindByName is a key driver; this is way too slow on big reactors. (Also cancellation does not seem to work reliably.)
Comment 3 Jesse Glick 2012-03-06 14:18:40 UTC
Not in 7.2.
Comment 4 Jesse Glick 2012-07-31 15:07:35 UTC
(In reply to comment #2)
> Replacing MavenCommandLineExecutor.FindByName is a key driver

Just realized that this can be done more easily and efficiently by just scanning Maven output for the error line after "After correcting the problems, you can resume the build with the command":

  mvn <goals> -rf :$artifactId
Comment 5 Milos Kleint 2013-04-08 20:08:33 UTC and a few previous commits.
for maven 3.x we now collect events from the EventSpy and create at Session->project->mojo tree that we use to find out where to resume from. For the future we could even show the entire node tree with links back to the output printed.
Comment 6 Jesse Glick 2013-04-08 20:28:46 UTC
Cool. You saw the blocked issues, right?