XML and ANT

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Markus Hansmair

XML and ANT

Post 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
Andreas

Re: XML and ANT

Post 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...
Post Reply