I dont think that it's "really" possible ...
<project>
<taskname name="myOwnTask" classname="MyOwnTask"/>
<presetdef name="copy2"><copy todir="standard"/></presetdef>
<macrodef name="foo">
<attribute name="bar"/>
...
</macrodef>
<myOwnTask completelyUnknownAttribute="" ... />
<copy2 file="file"/>
<foo bar=""/>
</project>
How you would define a DTD or XSD _before_ writing the buildfile?
Jan
>-----Ursprüngliche Nachricht-----
>Von: lightbulb432 [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 13. Februar 2007 23:53
>An: [email protected]
>Betreff: DTD or XSD for build files
>
>
>Is DTD or XSD validation of the Ant build files possible from
>within an IDE?
>It seems to be possible, but I'm wondering how that happens.
>The taskdef
>element's name attribute defines the element used later in the
>Ant build
>files. It seems different from the standard way of defining
>element names in
>a DTD/XSD and defining namespaces and things like that...
>
>Is there a way to make validation work using DTDs or XSDs for external
>validation, or can they not be used at all with Ant build
>files? Or have I
>missed something completely and DTDs / XSDs can be used?
>
>Fairly new to all this, so just wondering...
>--
>View this message in context:
>http://www.nabble.com/DTD-or-XSD-for-build-files-tf3224110.html
#a8955279
>Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]