Community
Participate
Working Groups
build F1 Right now when the user hits the Cancel button on the Ant Wizard, a not so nice "Build Failed - see log for details" message dialog is shown. We could coordinate some changes between Platform UI and Ant Core to better support that. My suggestion is to just stop the script execution and do not show any messages - the log will be around if the user wants to check it (I believe this was the old behaviour). Suggested steps are: 1) fix bug 17481 2) move class BuildCanceledException from Platform UI to Ant Core 3) if monitor is canceled Ant Core throws BuildCanceledException 4) UI checks instanceof on exceptions thrown by AntRunner in order to decide what to do Recomend for 2.0.
Reassigning for items 2 and 3. Generally we use OperationCanceledException here. Should not have to introduce a new exception.
The code in Ant Core now throws a OperationCanceledException if the monitor is canceled. Moving back to Platform UI for item (4).
*** Bug 18069 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 16919 ***