Skip to content
This repository was archived by the owner on Jul 13, 2021. It is now read-only.

Commit cd378af

Browse files
author
F_acm M_acm L_acm
committed
changed some modes
1 parent 22fb60d commit cd378af

9 files changed

+4
-2
lines changed

README.md

100644100755
File mode changed.

compile.sh

100644100755
File mode changed.

compileSummarize.sh

100644100755
File mode changed.

defaultprojectdata.txt

100644100755
File mode changed.

exampleprojectdata.sb2

100644100755
File mode changed.

go.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sh compile.sh && echo "running..." && cd bin/ && java scratchreferee/app/Competition $@
1+
sh compile.sh && echo "running..." && cd bin/ && java -cp ".:../lib/commons-io-2.5/commons-io-2.5.jar:../lib/JSON-java/:../lib/commons-csv-1.5/commons-csv-1.5/jar:../lib/commons-codec-1.10/commons-codec-1.10.jar" scratchreferee/app/Competition $@
22

samplefullproject.sb2

100644100755
File mode changed.

src/scratchreferee/app/Competition.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ public static void main(String[] args) throws IOException {
2626
}
2727

2828
final String webPath = args[1];
29-
final String uploadsPath = webPath + "uploads";
29+
final String uploadsPath = webPath + "/uploads";
3030
final Pattern uploadPattern = Pattern.compile("team([0-9]+)prob([0-9]+)(project|design).+(\\..+)");
3131
final Pattern clarifyPattern = Pattern.compile("question.*\\.txt");
3232
final String appdataPath = args[0];
3333
final String savePath = appdataPath + "/data/submissions";
3434
final Pattern savePattern = Pattern.compile("prob([0-9]+)sub([0-9]+).+");
35+
System.out.println("Uploads path: " + uploadsPath);
36+
System.out.println("Save path: " + savePath);
3537

3638
final String username = "MUScratchJudging17";
3739
final String password = "Dr.Gorliss";

summarize.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)