@terppa wrote:
Hello, I’m getting the following error when I’m trying to do an “ant clean” to my web project.
C:\Projects\hallinta\src\build.xml:1: Document root element is missing.
I’m using Eclipse 3.1 w/ MyEclipse 4.0 M3.
What am I doing wrong here? I can run all of my ant tasks from command prompt with no problem.
Thanks, Tero
This seems to be related to the version of ant used. When running ant in console, an instance of version 1.5.1 gets run. And when using [My]Eclipse, the shipped ant plugin, which is of version 1.6.5 gets run.
So I assume that I need to rewrite my build.xml then.
Regards, Tero