Niggling bits.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@916 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2002-11-11 17:34:41 +00:00
parent e91631e6f5
commit 1c6d94fc45
2 changed files with 20 additions and 4 deletions
+17 -1
View File
@@ -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>