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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to