Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 83131 - Build fails if only running the implicit target
Summary: Build fails if only running the implicit target
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Kevin Barnes CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-18 14:24 EST by Darin Swanson CLA
Modified: 2005-01-20 11: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 2005-01-18 14:24:11 EST
With a buildfile that has no default target, we should just execute the 
implicit target and the build should succeed.

We currently fail passing in a null target.
Comment 1 Darin Swanson CLA 2005-01-18 17:01:22 EST
Test buildfile. Run As>Ant Build

<project name="project">
    <echo>Implicit</echo>
    <target name="notDefault">
    </target>
</project>

Comment 2 Darin Swanson CLA 2005-01-18 17:06:37 EST
Fixed in Ant core InternalAntRunner and Ant UI InternalAntRunner.
Removed validation in AntTargetsTab and removed the unused NLS string from 
AntLaunchConfigurationMessages.properties

Please verify.
Comment 3 Darin Swanson CLA 2005-01-19 14:02:16 EST
Added test to FrameworkTests...actually reworked nodefault and added missing 
default. Test buildfiles changed: MissingDefault.xml and NoDefault.xml
Comment 4 Kevin Barnes CLA 2005-01-20 11:59:07 EST
verified