ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shatzer, Larry" <Larry.Shat...@Spirent.com>
Subject RE: [SUBMIT] optional task <propertyformatter>
Date Fri, 05 Sep 2003 14:57:31 GMT
> -----Original Message-----
> From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> Sent: Thursday, September 04, 2003 11:09 PM
> To: dev@ant.apache.org
> Subject: RE: [SUBMIT] optional task <propertyformatter>
> 
> 
> First thought on that topic is a kind of printf
>     <printf property="" refids="" format=""/>
> where
>     property    takes the name of the new created property
>     refids      takes a list of (:,;) separated names of properties
>     format      takes the format string like in printf
> 
> That would be much more powerful than these predefined formats.
> 

I like that idea, but still think offering a simpler task that has some
predefined formats is a good thing. I can't count the times I got a sprintf
format wrong, or had to sit there and play a while till I got what I wanted.
Even after reading the docs for sprintf.

-- Larry

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


Mime
View raw message