added jnlp stuff for cpd

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@643 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2002-08-07 15:46:54 +00:00
parent 09bd68ee56
commit a2d77ee49e
2 changed files with 27 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<property name="regress" value="regress\"/>
<property name="reports" value="reports\"/>
<property name="version" value="0.8"/>
<property name="jnlp_staging_area" value="c:\data\importscrubberjnlp\"/>
<property name="build.compiler" value="jikes"/>
<target name="delete">
@ -104,10 +105,17 @@
<delete dir="tmp"/>
</target>
<target name="clean" depends="delete,compile"/>
<target name="dist" depends="clean,jar"/>
<target name="cpdjnlp" depends="dist">
<signjar jar="${lib}\pmd-${version}.jar" alias="myself" keystore="${jnlp_staging_area}myKeyStore" storepass="password"/>
<exec executable="pscp.exe" os="Windows 2000">
<arg line=" ${lib}\pmd-${version}.jar tomcopeland@pmd.sourceforge.net:/home/groups/p/pm/pmd/htdocs"/>
</exec>
</target>
</project>

19
pmd/etc/cpd.jnlp Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://pmd.sourceforge.net/" href="http://pmd.sourceforge.net/cpd.jnlp">
<information>
<title>CPD</title>
<vendor>Tom Copeland</vendor>
<description>CPD - find copied and pasted code</description>
<description kind="short">CPD is a PMD extension that finds copied and pasted code blocks in a Java source code file.</description>
<homepage href="http://pmd.sourceforge.net/"/>
</information>
<security>
<all-permissions/>
</security>
<offline-allowed/>
<resources>
<j2se version="1.3+"/>
<jar href="pmd-0.8.jar"/>
</resources>
<application-desc main-class="net.sourceforge.pmd.cpd.GUI"/>
</jnlp>