ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: AW: DTD or XSD for build files
Date Wed, 14 Feb 2007 16:08:02 GMT
lightbulb432 wrote:
> True, that's what I figured.
> 
> Within the "myOwnTask" element, however, couldn't an XSD be defined for that
> based on the allowable attributes and subelements, so you get the benefit of
> autocompletion and validation in your IDE? But I guess if that's not how
> it's done then I shouldn't pursue it...

XSD is a worst-in-class XML type language that doesnt map well to ant's 
type system; having support for it would only encourage people to use it 
in their own applications. If Ant were to have a schema langauge, it 
would be relaxng with a schematron file to go with.


> Eclipse seems to nicely autocomplete the tags nonetheless...I guess it has
> it's own way of doing that by looking at the tasks you define...

Its called introspection.


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


Mime
View raw message