*** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@951 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<property name="jar" value="dcpd.jar"/>
|
||||
<property name="workerzipfile" value="worker.zip"/>
|
||||
<property name="build.compiler" value="jikes"/>
|
||||
<property name="httpserver" value="mordor"/>
|
||||
|
||||
<target name="delete">
|
||||
<delete dir="${build}"/>
|
||||
@@ -41,7 +42,7 @@
|
||||
|
||||
<target name="copytoserver" depends="clean,jar">
|
||||
<exec executable="pscp.exe" os="Windows 2000">
|
||||
<arg line=" ${lib}\${jar} tom@mordor:/home/tom/projects/jini/sdk/lib/"/>
|
||||
<arg line=" ${lib}\${jar} tom@${httpserver}:/home/tom/projects/jini/sdk/lib/"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
@@ -55,13 +56,15 @@
|
||||
<copy file="${lib}/runtimeonly/reggie.jar" toDir="staging"/>
|
||||
<copy file="etc/policy.all" toDir="staging"/>
|
||||
<copy file="etc/linuxclient_go.sh" toDir="staging"/>
|
||||
<copy file="etc/client_go.bat" toDir="staging"/>
|
||||
<zip zipfile="${workerzipfile}" basedir="staging"/>
|
||||
<exec executable="pscp.exe" os="Windows 2000">
|
||||
<arg line=" ${workerzipfile} tom@mordor:/home/tom/"/>
|
||||
<arg line=" ${workerzipfile} tom@${httpserver}:/home/tom/"/>
|
||||
</exec>
|
||||
<exec executable="pscp.exe" os="Windows 2000">
|
||||
<arg line=" ${workerzipfile} tom@shire:/home/tom/"/>
|
||||
</exec>
|
||||
<delete dir="staging"/>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
||||
@@ -2,7 +2,8 @@ PMD-DCPD
|
||||
|
||||
Contents:
|
||||
Overview
|
||||
How to run it on one machine (Win32)
|
||||
How to run PMD_DCPD on one machine (Win32)
|
||||
How to run PMD_DCPD on several machines (mixed)
|
||||
|
||||
OVERVIEW
|
||||
PMD-DCPD is a distributed duplicate code detector. It is loosely based on Michael Wise's Greedy String Tiling Algorithm.
|
||||
@@ -10,13 +11,22 @@ PMD-DCPD is a distributed duplicate code detector. It is loosely based on Micha
|
||||
HOW TO RUN IT ON ONE MACHINE (Win32)
|
||||
Download the latest Jini Starter kit
|
||||
Download the latest PMD-DCPD release
|
||||
Download and install Ant
|
||||
Start a JavaSpace
|
||||
Change the JavaSpace server name in Util.java and recompile the source code
|
||||
Change the JavaSpace server name in Util.java and recompile the source code via a "ant compile"
|
||||
Change the JavaSpace server name in go.bat, client_go.bat, linuxclient_go.sh, and build.xml
|
||||
Copy the dcpd.jar file to the HTTP server via a "ant copytoserver"
|
||||
Open a console window and go to the pmd-dcpd\etc directory
|
||||
Change the JavaSpace server name in go.bat and client_go.bat
|
||||
Start a manager by running "go DCPDManager c:\path\to\source\code 70"
|
||||
Start a worker by running "client_go DCPDWorker"
|
||||
|
||||
HOW TO RUN IT ON SEVERAL MACHINES (mixed)
|
||||
Download the latest Jini Starter kit
|
||||
Download the latest PMD-DCPD release
|
||||
Start a JavaSpace
|
||||
Change the JavaSpace server name in Util.java and recompile the source code
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user