forked from phoedos/pmd
Applied patch 4320938: CPD GUI Launcher script only supports Microsoft Windows, thanks to Tom Wheeler
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7405 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
parent
ad3086eb2b
commit
3cd12def47
18
pmd/bin/cpdgui.sh
Normal file
18
pmd/bin/cpdgui.sh
Normal file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Shell script to launch PMD's Copy Paste Detector GUI on a
|
||||
# UNIX system, based on the cpdgui.bat file used to do the
|
||||
# same on MS Windows systems. This requires that the "java"
|
||||
# command be in your executable PATH.
|
||||
|
||||
# Version number for this PMD release
|
||||
VERSION=4.2.6
|
||||
|
||||
BINDIR=`dirname $0`
|
||||
ROOTDIR=${BINDIR}/..
|
||||
PMDJAR=${ROOTDIR}/lib/pmd-${VERSION}.jar
|
||||
JARPATH=${TOPDIR}/lib/asm-3.2.jar:${TOPDIR}/lib/jaxen-1.1.1.jar
|
||||
JVMOPTS=-Xmx512m
|
||||
MAIN_CLASS=net.sourceforge.pmd.cpd.GUI
|
||||
|
||||
java ${JVMOPTS} -cp "${PMDJAR}:${JARPATH}" ${MAIN_CLASS} $*
|
@ -9,6 +9,7 @@ Improve TooManyMethods rule - thanks to a patch from Riku Nykanen
|
||||
Improve DoNotCallSystemExit - thanks to a patch from Steven Christou
|
||||
Fix false negative for UseArraysAsList when the array was passed as method parameter - thanks to Andy Throgmorton
|
||||
Enhanced SuspiciousEqualsMethodName rule - thanks to Andy Throgmorton
|
||||
Add a script to launch CPDGUI on Unix system - thanks to Tom Wheeler
|
||||
|
||||
New Rule:
|
||||
Basic ruleset: DontCallThreadRun - thanks to Andy Throgmorton
|
||||
|
@ -324,6 +324,7 @@
|
||||
<li>Tammo van Lessen - new rule GuardDebugLogging for Jakarta Commons Logging ruleset.</li>
|
||||
<li>Steven Christou - patch improving DoNotCallSystemExit rule</li>
|
||||
<li>Dinesh Bolkensteyn and SonarSource - Java 7 grammar support</li>
|
||||
<li>Tom Wheeler - contribute a launch script for CPD GUI</li>
|
||||
</ul>
|
||||
</subsection>
|
||||
<subsection name="Organizations">
|
||||
|
Loading…
x
Reference in New Issue
Block a user