| Summary: | Handling of unknown arguments/targets | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Darin Wright <darin.eclipse> | ||||||||
| Component: | Ant | Assignee: | Darin Wright <darin.eclipse> | ||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | Michael_Rennie, natalia.bartol | ||||||||
| Version: | 3.4.2 | Flags: | Michael_Rennie:
review+
|
||||||||
| Target Milestone: | 3.5.2 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Darin Wright
Created attachment 151593 [details]
patch
This patch fixes a bug in processUnrecognizedCommands(...) and additionally removes unknown targets before attempting to execute the build file.
I've tested patch and it solves the problem. Since all changes in ant.ui and new ant.launching plugins are released into 3.6 (Bug 264338), this should also go into 3.6 stream. Created attachment 151696 [details]
updated patch
Tested and updated the patch to apply to HEAD and NLS'd the error message.
Applied to 3.6/HEAD. Targetting for 3.5.2. Released to 3.5.2, please verify, Mike. This caused an automated test failure. When a build script has no default target an exception is thrown. Created attachment 151837 [details]
fix
Additional fix.
Applied additional fix to 3.5.2 and 3.6. Please verify, Mike. looks good and the test failures have been fixed with the (last) updated patch. verified. |