Permalink
Browse files

fixed environment stuff, hopefully it works on ccis

  • Loading branch information...
1 parent f173f9e commit 356e522ed339e65bc83ae94c42fab7cab5a9fa2c @adamalix committed Oct 19, 2011
Showing with 3 additions and 4 deletions.
  1. +1 −1 Makefile
  2. +1 −2 cs4500
  3. +1 −1 src/main/resources/MANIFEST.MF
View
@@ -2,7 +2,7 @@
# cd <project-base-dir> <-- this is the same directory that this file lives in
all:
- scalac -classpath /usr/share/java/scala-library.jar \
+ ./bin/scalac -classpath lib/scala-library.jar \
-sourcepath src -d build src/main/scala/com/cpb/cs4500/Runner.scala \
src/main/scala/com/cpb/cs4500/parsing/Spec.scala \
src/main/scala/com/cpb/cs4500/parsing/ADTParser.scala \
View
@@ -3,7 +3,6 @@
INPUT_FILE=$1
OUTPUT_FILE=$2
-JAVA_DIR=/usr/share/java
-LIB_CLASSPATH=$JAVA_DIR/scala-library.jar:$JAVA_DIR/scala-compiler.jar:$JAVA_DIR/jline.jar
+LIB_CLASSPATH=lib/scala-library.jar:lib/scala-compiler.jar
java -cp $LIB_CLASSPATH -jar bin/cs4500.jar $INPUT_FILE $OUTPUT_FILE
@@ -1,2 +1,2 @@
Main-Class: com.cpb.cs4500.Runner
-Class-Path: /usr/share/java/scala-library.jar
+Class-Path: ../lib/scala-library.jar

0 comments on commit 356e522

Please sign in to comment.