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:
@ -55,7 +55,7 @@
|
|||||||
<copy file="${lib}/${pmdjar}" todir="tmp/${ant.project.name}-${pluginversion}/lib/"/>
|
<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}/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"/>
|
<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"/>
|
<move file="pmd-jdeveloper-bin-${pluginversion}.zip" todir="/home/tom/tmp"/>
|
||||||
<delete dir="tmp"/>
|
<delete dir="tmp"/>
|
||||||
</target>
|
</target>
|
||||||
@ -63,4 +63,12 @@
|
|||||||
<target name="clean" depends="delete,compile">
|
<target name="clean" depends="delete,compile">
|
||||||
</target>
|
</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>
|
</project>
|
||||||
|
Reference in New Issue
Block a user