ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33253] New: - a wrapper for the java.lang.String class to modify properties
Date Wed, 26 Jan 2005 17:31:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33253>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33253

           Summary: a wrapper for the java.lang.String  class to modify
                    properties
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: jpyeron@pdinc.us


we should be able to:

<string property="myprop1" method="toLowerCase" src="${props.myprop}" />

or

<string property="trim" method="trim" src="${props.myprop}" />
<string property="len" method="length" src="${trim}" />
<string property="first" method="substring" src="${trim}" param1="0" 
param2="1" />
<string property="rest" method="substring" src="${trim}" param1="1" 
param2="${len}" />
<string property="first" method="toUpperCase" src="${first}" />
<property name="props.myprop" value="${first}${rest}" />


along the same spirit as mapper:
  <pathconvert pathsep=" " dirsep="/" refid="manifest.jarset" 
property="manifest.classpath">
   <mapper type="flatten"/>
   <map from="" to="lib/"/>
  </pathconvert>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message