ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: make a string lowercase
Date Sun, 17 Aug 2008 15:51:00 GMT

I created a separate target to uppercase the string call the java class upperstore the results
to outputproperty<property name='newVar' value='newVar'/>  <property name='out' value='out'
/>  <target name='mapper'> <java classname='upper' outputproperty='out'>  <arg
value='${newVar}'/> </java>  <echo>out = ${out}</echo>  </target>
(source file to convert attached)
anyone else?Martin ______________________________________________ Disclaimer and confidentiality
note Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission. > From: Guy.catz@waves.com> To: user@ant.apache.org> Date:
Sun, 17 Aug 2008 08:32:54 -0400> Subject: make a string lowercase> > Is it possible
to make a string lowercase (or uppercase)?> Something like ....> <lowercase var='myVar'
property='newVar' />> > ${myVar} can be 'Release', while after calling <lowercase>,
${newVar} will be set to 'release'.> > Does something like this exist?> > Thanks.>

_________________________________________________________________
Get ideas on sharing photos from people like you.  Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008
Mime
View raw message