ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject Re: ANT build file validation
Date Thu, 04 Mar 2004 20:15:42 GMT
===> have a look at the antstructure task, which can generate a dtd.
I am not 100% sure whether this dtd contains everything, but it gives a 
rough idea.

===> of course your XML must be well formed (basic)

Antoine

Weir, Michael wrote:

>Is there a way of ensuring that an ant build.xml file is valid?  
>
>I have modified our build with many options that make life easier and builds
>faster for developers, but the many different ways that the build now
>executes means that sometimes errors such as improperly-typed properties and
>target names sometimes slip in.
>
>I expect that there are many things that can be done dynamically in ant that
>makes it hard to ensure that every conceivable build.xml file is valid, but
>many problems could be spotted by a quick pass through the file.
>
>Thanks for any help with this.
>
>
>Michael Weir . Transform Research Inc. . 613.238.1363 x.114
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message