ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: New ANT task coding guideline
Date Thu, 27 May 2010 09:04:45 GMT
Please have a look at https://svn.apache.org/repos/asf/ant/sandbox/autoconf/
Maybe that could help.
 
Jan

>-----Urspr√ľngliche Nachricht-----
>Von: Antoine Levy-Lambert [mailto:antoine@gmx.de] 
>Gesendet: Mittwoch, 26. Mai 2010 17:31
>An: Ant Users List
>Betreff: Re: New ANT task coding guideline
>
>Hello Shawn,
>
>I hope some one has a useful answer for this.
>
>-------- Original-Nachricht --------
>> Datum: Wed, 26 May 2010 10:03:30 -0500
>> Von: Shawn Castrianni <Shawn.Castrianni@halliburton.com>
>> An: "\'Ant Users List\'" <user@ant.apache.org>
>> Betreff: New ANT task coding guideline
>
>> Therefore, I propose that a new ANT task coding guideline be 
>introduced
>> such that all setters (where applicable) check the incoming 
>values for null
>> or empty strings and behave as if the setter was never called.
>> 
>Changing the behavior of ant to skip calling setters when the 
>attributes are empty would not be backward compatible. Maybe 
>something like that could be done based on a magic property, 
>which would be unset by default ?
>
>Regards,
>
>Antoine
>> ---
>> Shawn Castrianni
>> 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message