[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.jdt] Eclipse reading maven.xml as ant file, giving errors

Hi!

(if this is not the right group, please say so).

I use Eclipse (Java EE package) 3.5.0.
In some of our projects, we have maven config files, named maven.xml.
The problem is, that Eclipse takes them as ant files and reports error in them. Example:
Ant Buildfile Problem:
Default target <something> does not exist in this project
Resource: maven.xml
Type: Ant Buildfile Problem


I tried the tip from http://radfordbw.squidpower.com/2006/11/22/mavenxmleclipse-error-default-target-default-does-not-exist-in-this-project/
to set the ant editor to ignore problems in files named maven.xml, but it did not work. It still reports that error. Funny it reports it for one project only, while we have similar configuration in other projects too.


Any clue? It is mostly cosmetic, but the constant error reprot might obscure other, real errors.

Thanks,
David Balažic