Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi,
- You can use a filterchain to do this:
- <!-- Format the property -->
- <loadresource property="modifiedProperty">
- <string value="${propertyToModify}"/>
- <filterchain>
- <replacestring from="\\" to="/"/>
- </filterchain>
- </loadresource>
- You can also use regex replace in a filterchain:
- https://ant.apache.org/manual/Types/filterchain.html#replaceregex
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement