Bug 27123 - Invalid targets not handled correctly
Summary: Invalid targets not handled correctly
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.1   Edit
Hardware: PC All
: P2 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Darin Swanson CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2002-11-25 15:28 EST by Darin Swanson CLA
Modified: 2002-11-25 16:59 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2002-11-25 15:28:54 EST
Any argument that is not prefixed by "-" is specification of a target to 
execute.

If an invalid target is specified our behavior differs from commandline ant.
We should indicate a failed build and the target(s) that do not exist:
BUILD FAILED
Target 'test' does not exist in this project.
Comment 1 Darin Swanson CLA 2002-11-25 16:59:33 EST
We are doing the right thing.
Closing.