Skip to content

Instantly share code, notes, and snippets.

@afawcett afawcett/build.xml
Created Jul 16, 2016

Embed
What would you like to do?
Cloud9 /src Directory Fix
<project>
<target name="cloud9.github.init">
</target>
<target name="sync.from.cloud9">
<sync todir="src/classes" verbose="true">
<fileset dir="${basedir}/classes">
<exclude name="**/.c9/**"/>
</fileset>
</sync>
<sync todir="src/components" verbose="true">
<fileset dir="${basedir}/components">
<exclude name="**/.c9/**"/>
</fileset>
</sync>
<sync todir="src/pages" verbose="true">
<fileset dir="${basedir}/pages">
<exclude name="**/.c9/**"/>
</fileset>
</sync>
</target>
<target name="sync.to.cloud9">
<sync todir="${basedir}/classes" verbose="true">
<fileset dir="${basedir}/src/classes"/>
</sync>
<sync todir="${basedir}/components" verbose="true">
<fileset dir="${basedir}/src/components"/>
</sync>
<sync todir="${basedir}/pages" verbose="true">
<fileset dir="${basedir}/src/pages"/>
</sync>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.