forked from phoedos/pmd
minor refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@928 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@@ -56,6 +56,12 @@
|
||||
<copy file="etc/policy.all" toDir="staging"/>
|
||||
<copy file="etc/linuxclient_go.sh" toDir="staging"/>
|
||||
<zip zipfile="${workerzipfile}" basedir="staging"/>
|
||||
<exec executable="pscp.exe" os="Windows 2000">
|
||||
<arg line=" ${workerzipfile} tom@mordor:/home/tom/"/>
|
||||
</exec>
|
||||
<exec executable="pscp.exe" os="Windows 2000">
|
||||
<arg line=" ${workerzipfile} tom@shire:/home/tom/"/>
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
Binary file not shown.
@@ -35,8 +35,8 @@ public class DCPD {
|
||||
space = Util.findSpace(javaSpaceURL);
|
||||
|
||||
System.out.println("Tokenizing");
|
||||
job = new Job("java_lang", new Integer(1));
|
||||
tokenSetWrapper = new TokenSetsWrapper(loadTokens("C:\\j2sdk1.4.0_01\\src\\java\\lang\\ref", true), job);
|
||||
job = new Job("java_lang", new Integer((int)System.currentTimeMillis()));
|
||||
tokenSetWrapper = new TokenSetsWrapper(loadTokens("C:\\j2sdk1.4.0_01\\src\\java\\lang", true), job);
|
||||
System.out.println("Tokenizing complete, " + (System.currentTimeMillis()-start) + " elapsed ms");
|
||||
|
||||
System.out.println("Writing the TokenSetsWrapper to the space");
|
||||
|
@@ -34,7 +34,7 @@ public class Util {
|
||||
if (args[0].equals("clear")) {
|
||||
JavaSpace space = Util.findSpace(SPACE_SERVER);
|
||||
Entry e = null;
|
||||
while ( (e = space.take(null, null, 100)) != null) {
|
||||
while ((e = space.take(null, null, 100)) != null) {
|
||||
objectCount++;
|
||||
if (objectCount % 100 == 0) {
|
||||
System.out.println(objectCount + " objects taken so far");
|
||||
|
Reference in New Issue
Block a user