Page 1 of 1

Use Eclipse built-in editor for Ant build.xml

Posted: Fri Jan 13, 2006 11:05 pm
by renaud waldura
The built-in editor for Ant build.xml files in Eclipse is noticeably smarter than Oxygen's XML editor (e.g. it auto-completes and check dependencies, going beyond schema validation).

Now that I've installed Oxygen, how can I override its association with XML files and get the Eclipse built-it editor when I select Ant build.xml files? I tried adding an entry in Preferences/General/Editors/Files Associations for "build.xml" but it didn't change anything.

Thanks!

Posted: Sat Jan 14, 2006 12:22 am
by george
Hi,

From what we tested oXygen does not overwrite the association of build.xml with the Ant editor. But Eclipse remembers the editor used to open a specific file, in case you opened the build.xml file with oXygen then next time you double click on that the file will be opened again with oXygen. Try Open with... and select the Ant editor and next time when you double click on that file it should be opened by Eclipse again with the Ant editor.

Best Regards,
George

Posted: Thu Jan 19, 2006 2:07 am
by renaud waldura
That's it! Thanks very much George.