Skip to content

Instantly share code, notes, and snippets.

@savelee
Created February 8, 2016 15:18
Show Gist options
  • Save savelee/5e7d073b75b7dc3187a2 to your computer and use it in GitHub Desktop.
Save savelee/5e7d073b75b7dc3187a2 to your computer and use it in GitHub Desktop.
Modify Sencha build.xml Ant, to copy folders to a different destination
<tstamp>
<format property="today" pattern="yyyy-MM-dd"/>
</tstamp>
<property
name="destinationFolder"
value="${build.dir}/../../dist/${app.name}/${today}"
/>
<!-- Example, of how to copy the build folder to a different destination-->
<copy todir="${destinationFolder}" overwrite="true">
<fileset dir="${build.dir}">
<include name="**/*" />
</fileset>
</copy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment