ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: [SUBMIT] optional task <propertyformatter>
Date Mon, 08 Sep 2003 05:17:00 GMT
> > 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


Ok, an additional attribute <sprint ... preformat=""/> could do that.
Advantage would be to have the same task.


Jan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message