Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <macrodef name="replace_win_slashes">
- <attribute name="property.to.process" />
- <attribute name="output.property" />
- <sequential>
- <loadresource property="@{output.property}">
- <string value="@{property.to.process}"/>
- <filterchain>
- <replaceregex pattern="\\" replace="/" flags="gi"/>
- </filterchain>
- </loadresource>
- <echo message="property.to.process: @{property.to.process}" />
- <echo message="output.property : ${@{output.property}}" />
- </sequential>
- </macrodef>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement