ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject little error in <presetdef>
Date Wed, 07 Apr 2004 16:04:56 GMT
Found by accident:

<project>
    <presetdef name="x">
        <echo/>
    </presetdef>
    <x wrongAttribute=""/>
</project>


will output 
    BUILD FAILED
    build.xml:5: The <x> type doesn't support the "wrongattribute"
attribute.



I think it would be better to show the original taskname (in contrast to the
other *def tasks)
because presetdef only takes one task/type and finding the error would be
easier.

... or am I missing something?


Jan

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


Mime
View raw message