Use Eclipse built-in editor for Ant build.xml

Having trouble installing Oxygen? Got a bug to report? Post it all here.
renaud waldura
Posts: 8
Joined: Tue Oct 25, 2005 8:35 pm

Use Eclipse built-in editor for Ant build.xml

Post 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!
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
renaud waldura
Posts: 8
Joined: Tue Oct 25, 2005 8:35 pm

Post by renaud waldura »

That's it! Thanks very much George.
Post Reply