Added tomserver target

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2302 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2003-10-09 13:55:10 +00:00
parent 19de3611e7
commit 036cfe2c84

View File

@ -55,7 +55,7 @@
<copy file="${lib}/${pmdjar}" todir="tmp/${ant.project.name}-${pluginversion}/lib/"/>
<copy file="${lib}/saxpath-1.0-fcs.jar" todir="tmp/${ant.project.name}-${pluginversion}/lib"/>
<copy file="${lib}/jaxen-core-1.0-fcs.jar" todir="tmp/${ant.project.name}-${pluginversion}/lib"/>
<zip zipfile="pmd-jdeveloper-bin-${pluginversion}.zip" basedir="tmp"/>
<zip zipfile="pmd-jdeveloper-bin-${pluginversion}.zip" basedir="tmp/"/>
<move file="pmd-jdeveloper-bin-${pluginversion}.zip" todir="/home/tom/tmp"/>
<delete dir="tmp"/>
</target>
@ -63,4 +63,12 @@
<target name="clean" depends="delete,compile">
</target>
<target name="tomserver" depends="release">
<echo message="Uploading zip file"/>
<exec executable="scp" os="Linux">
<arg line=" /home/tom/tmp/pmd-jdeveloper-bin-${pluginversion}.zip tom@infoether.com:public_html/"/>
</exec>
</target>
</project>