DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6543>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6543 pathconvert: dirsep should not be restricted to 1 char Summary: pathconvert: dirsep should not be restricted to 1 char Product: Ant Version: 1.4.1 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Currently I have to replace some paths in policy files. These policy files will be partially used in unix and in windows environments. A nice feature of policy files is that you may use platform independend path separators by specifying them as ${/}. If the pathconvert task would recognize dirsep values longer than 1 character, it could be easily used to convert a normal path into such a policy path. An example: <pathconvert dirsep="$${/}" property="wls.home.policypath" > <path path="${target.wls.home}"/> </pathconvert> with target.wls.home= d:\weblogic would convert place a resulting path of 'd:${/}weblogic' into the property wls.home.policypath. This property than in turn may be used as a filter on some policy template file to create a concrete policy. I will attach a small modification based on the PathConvert.java file of Ant 1.4.1 which demonstrates (probably better) what I want to achieve. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
