SHARE
TWEET

Untitled

a guest Aug 2nd, 2014 358 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         <macrodef name="replace_win_slashes">
  2.             <attribute name="property.to.process" />
  3.             <attribute name="output.property" />
  4.             <sequential>
  5.                 <loadresource property="@{output.property}">
  6.                 <string value="@{property.to.process}"/>
  7.                 <filterchain>
  8.                         <replaceregex pattern="\\" replace="/" flags="gi"/>
  9.                 </filterchain>
  10.                 </loadresource>
  11.                 <echo message="property.to.process: @{property.to.process}" />
  12.                 <echo message="output.property    : ${@{output.property}}" />
  13.             </sequential>
  14.         </macrodef>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top