Skip to content

Instantly share code, notes, and snippets.

@ivoba
Created October 8, 2011 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivoba/1272286 to your computer and use it in GitHub Desktop.
Save ivoba/1272286 to your computer and use it in GitHub Desktop.
copyViews Target for boilerplate build
<target name="copyViews">
<echo message="copy Views for build"/>
<mkdir dir="${dir.intermediate}/${dir.views}"/>
<copy todir="${dir.intermediate}/${dir.views}" includeEmptyDirs="true">
<fileset dir="${dir.views}/" excludes="${file.default.exclude}, ${file.exclude}">
</fileset>
</copy>
<mkdir dir="${dir.publish}/${dir.views}"/>
<copy todir="${dir.publish}/${dir.views}" includeEmptyDirs="true">
<fileset dir="${dir.views}/" excludes="${file.default.exclude}, ${file.exclude}">
</fileset>
</copy>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment