Community
Participate
Working Groups
AntRunner (actually internalAntRunner) prints a stack trace (presumably for debugging) on an exception. When using AntRunner with a ProgressMonitorDialog the cancel button generates an OperationCanceledExcpetion (Actually I believe it's the ProgressBuildListener. The AntRunner class prints the stack trace before throwing the exception on. It looks like the print stack trace code comes and goes in CVS, depending on branch, etc. But it is definitely in the offical R2.0 release.
When the user cancels the execution of Ant, it has been changed so that an info message is logged to the build listeners (which includes the Log console view).
Jared, please verify changes to InternalAntRunner#run(List)
Please verify (Joe)
When I cancel an Ant script, I get the following (minus my "[]" markup) in the log view: [red]BUILD FAILED: org.eclipse.core.runtime.OperationCanceledException: Build cancelled.[/red] [blue]Build cancelled.[/blue]
Fixed up in NullBuildLogger. Please verify.
Verified.