Niggling bits.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@916 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -45,11 +45,16 @@
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- cleans out the installed application -->
|
||||
<!-- cleans out the built application -->
|
||||
<target name="clean">
|
||||
<delete dir="${deploy.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- cleans out the installed application -->
|
||||
<target name="purge" depends="clean">
|
||||
<delete dir="${install.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- build the java class files -->
|
||||
<target name="compile" depends="prepare">
|
||||
<javac srcdir="${src.dir}" destdir="${deploy.dir}/classes"
|
||||
@@ -101,4 +106,15 @@
|
||||
<fileset dir="etc" includes="**/*.jnlp"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- mirrors the files to the production web server -->
|
||||
<target name="mirror">
|
||||
<echo message="Mirroring files to ${musicd_host}..."/>
|
||||
<apply executable="rsync" parallel="true">
|
||||
<fileset dir="${install.dir}" includes="**"/>
|
||||
<arg line="-av"/>
|
||||
<srcfile/>
|
||||
<arg line="${musicd_host}:${install.dir}"/>
|
||||
</apply>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user