Page 1 of 1

XML and ANT

Posted: Wed Feb 19, 2003 2:09 pm
by Markus Hansmair
I have 2 document classes:

XML/DTD recognizing *.xml, *.xsl, *.xsd, *dtd
ANT recognizing build*.xml

Unfortunately ANT build files (e.g. build.xml or build_ear.xml) are recognized as XML and not ANT (apparently due to the overlapping patterns *.xml and build*.xml). Any hints or workarounds?

Thanks in advance

Re: XML and ANT

Posted: Wed Feb 19, 2003 4:25 pm
by Andreas
the list of document classes is (for some reason unknown and un-understandble to me) checked in reverse order of the names of the document classes..

Rename your ant document class to z_ant or something like that so it will be below the XML document class...