Skip to content

Instantly share code, notes, and snippets.

@playerjamesbattleground
Last active August 29, 2015 13:56
Show Gist options
  • Save playerjamesbattleground/8815840 to your computer and use it in GitHub Desktop.
Save playerjamesbattleground/8815840 to your computer and use it in GitHub Desktop.
ant copy from template and replace
//In ant build, assume properties were valued elsewhere
<copy file="${business.service.op.template}" tofile="${business.src.main.app.dir}/${business.op.name.lowercase}-stub.xml">
<filterset>
<filter token="business.op.name.capitalcase" value="${business.op.name.capitalcase}" />
<filter token="business.op.name.lowercase" value="${business.op.name.lowercase}" />
</filterset>
</copy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment