Page 1 of 1

Ant scripts validation errors

Posted: Sat Dec 01, 2012 5:04 pm
by esiegel
Hello,

When I write Ant scripts, I notice I get a lot of validation errors in oXygen, but my script runs ok.

This is probably die to version differences? I use Ant 1.7 with ant-contrib.

Do you have a suggestion how to change this and get rid of the incorrect validation errors?

Erik

Re: Ant scripts validation errors

Posted: Mon Dec 03, 2012 10:06 am
by Radu
Hi Eric,

The build file is most probably valid but Oxygen reports it as invalid.

Oxygen validates the ANT build files using the DTD from OXYGEN_INSTALL_DIR/frameworks/ant/ant.dtd.
So you could try to change the DTD to better match your scripts.

Schema or DTD-based validation of ANT build files will never be perfect so what we plan for a future version is to use ANT's libraries to check for such validation problems.

Regards,
Radu