*** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@947 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -3,13 +3,12 @@ set CLASSPATH=
|
||||
set CLASSPATH=%CLASSPATH%;c:\data\pmd\pmd-dcpd\lib\runtimeonly\outrigger-dl.jar
|
||||
set CLASSPATH=%CLASSPATH%;c:\data\pmd\pmd-dcpd\lib\runtimeonly\reggie.jar
|
||||
set CLASSPATH=%CLASSPATH%;c:\data\pmd\pmd-dcpd\build
|
||||
set CLASSPATH=%CLASSPATH%;c:\data\pmd\pmd-dcpd\lib\pmd-1.0rc1.jar
|
||||
set CLASSPATH=%CLASSPATH%;c:\data\pmd\pmd-dcpd\lib\pmd-1.0rc2.jar
|
||||
|
||||
set MAIN=net.sourceforge.pmd.dcpd.%1
|
||||
set MEMORY_ARG=-Xms128M -Xmx384M
|
||||
set POLICY_ARG=-Djava.security.policy=policy.all
|
||||
set SPACENAME_ARG=-Dcom.sun.jini.outrigger.spacename=JavaSpaces
|
||||
set GROUP_ARG=-Dcom.sun.jini.lookup.groups=public
|
||||
set CODEBASE=-Djava.rmi.server.codebase=http://mordor:8081/dcpd.jar
|
||||
|
||||
java %MEMORY_ARG% %POLICY_ARG% %SPACENAME_ARG% %GROUP_ARG% -cp %CLASSPATH% %CODEBASE% %MAIN% %2
|
||||
java %MEMORY_ARG% %POLICY_ARG% %SPACENAME_ARG% %GROUP_ARG% -cp %CLASSPATH% %CODEBASE% net.sourceforge.pmd.dcpd.DCPDManager %1 %2
|
||||
|
@ -2,15 +2,20 @@ PMD-DCPD
|
||||
|
||||
Contents:
|
||||
Overview
|
||||
How to run it
|
||||
|
||||
How to run it on one machine
|
||||
How to run it on several machines
|
||||
|
||||
OVERVIEW
|
||||
PMD-DCPD is a distributed duplicate code detector. It is loosely based on Michael Wise's Greedy String Tiling Algorithm.
|
||||
|
||||
HOW TO RUN IT
|
||||
HOW TO RUN IT ON ONE MACHINE
|
||||
Download the latest release
|
||||
Start a JavaSpace
|
||||
Change the JavaSpace server name in Util.java and recompile the source code
|
||||
Start a DCPD manager by running
|
||||
Change the source code directory that you want to check in DCPDManager.java
|
||||
Start a DCPD manager by running etc\go DCPDManager
|
||||
Start a DCPD worker by running etc\go DCPDWorker
|
||||
|
||||
|
||||
|
||||
|
||||
|
14
pmd-dcpd/etc/util_go.bat
Executable file
14
pmd-dcpd/etc/util_go.bat
Executable file
@ -0,0 +1,14 @@
|
||||
@echo off
|
||||
set CLASSPATH=
|
||||
set CLASSPATH=%CLASSPATH%;c:\data\pmd\pmd-dcpd\lib\runtimeonly\outrigger-dl.jar
|
||||
set CLASSPATH=%CLASSPATH%;c:\data\pmd\pmd-dcpd\lib\runtimeonly\reggie.jar
|
||||
set CLASSPATH=%CLASSPATH%;c:\data\pmd\pmd-dcpd\build
|
||||
set CLASSPATH=%CLASSPATH%;c:\data\pmd\pmd-dcpd\lib\pmd-1.0rc2.jar
|
||||
|
||||
set MEMORY_ARG=-Xms128M -Xmx384M
|
||||
set POLICY_ARG=-Djava.security.policy=policy.all
|
||||
set SPACENAME_ARG=-Dcom.sun.jini.outrigger.spacename=JavaSpaces
|
||||
set GROUP_ARG=-Dcom.sun.jini.lookup.groups=public
|
||||
set CODEBASE=-Djava.rmi.server.codebase=http://mordor:8081/dcpd.jar
|
||||
|
||||
java %MEMORY_ARG% %POLICY_ARG% %SPACENAME_ARG% %GROUP_ARG% -cp %CLASSPATH% %CODEBASE% net.sourceforge.pmd.dcpd.Util %1
|
BIN
pmd-dcpd/lib/pmd-1.0rc2.jar
Normal file
BIN
pmd-dcpd/lib/pmd-1.0rc2.jar
Normal file
Binary file not shown.
Reference in New Issue
Block a user