ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: global and customization of Default attribute values
Date Thu, 08 Dec 2011 09:41:56 GMT
On 2011-12-08, Raja Nagendra Kumar wrote:

> I would like to have global default values per module or per project.. to
> the attributes of all ant tasks or custom task..

> e.g for all the ant copy tasks used with in the project, I wish to make sure
> failonerror="fase" .. while ant's global default for this attribute is
> 'true'..

The easiest way to do that is to define a presetdef "mycopy" with your
own defaults and use that in your build files rather than the plain copy
task.

Stefan

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


Mime
View raw message