Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 83836

Summary: Editor marks in error legal ant build files
Product: [Eclipse Project] Platform Reporter: Gabriele Garuglieri <gabriele.garuglieri>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Gabriele Garuglieri CLA 2005-01-27 10:52:15 EST
Ant build files used in junit testcases through
org.apache.tools.ant.BuildFileTest.configureProject(), and files imported with
<import> task do not need name, default and basedir attributes, so such build
files with an empty <project> tag are legal, but ant editor marks them in error.

As an example there's no way to edit most of ant source testcases build files,
without having them all marked in error.

There is the need of an option to disable, when necessary, the <project> tag
error checking.
Comment 1 Darin Swanson CLA 2005-01-27 10:59:24 EST
The project validiation has been fixed in the latest builds (try I20050126)

No project needs a name, default or basedir attributes.
See bug 82880, bug 81367 and bug 83131.

*** This bug has been marked as a duplicate of 81367 ***