Summary: | [ExternalTools] Ant default target should be "main" | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Adam Schlegel <Adam_Schlegel> |
Component: | Ant | Assignee: | Ryan Cooper <ryan_cooper> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | rodrigo, simon_arsenault |
Version: | 2.0 | Keywords: | ui |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Adam Schlegel
2002-05-23 13:05:38 EDT
Investigate for 2.0. Determine if this is a 1.5 only thing. Comparing the docs it seems new to 1.5. In 1.4.1 the default target is mandatory in the project declaration. In 1.5 it is not mandatory anymore and if ommited the default should be set to main. Moving to Platform UI for comments. It affects they way we extract information to populate the Ant Wizard. My suggestion is to allow flexibility. 1) If the default is not set do not throw any errors (I believe the user will get an error later on if using 1.4.1 and will be OK if using 1.5). 2) If the default is not set and there is NO "main" target. Same as (1). 3) If the default is not set and there is a "main" target. Set the default target to be main. We already do 1 & 2. We can handle 3 in the validateDefaultTarget method. Looking at the documentation that ships with the 1.5 release of Ant, the "default" attribute is still required. It seems what Adam saw was part of a beta of 1.5 Closing this PR. Please reopen if you can find the appropriate documentation in release 1.5 (or from their mailing-lists/newsgroups). |