180 |
189 |
181 SCALAC_OPTIONS="$ISABELLE_SCALA_BUILD_OPTIONS -d classes" |
190 SCALAC_OPTIONS="$ISABELLE_SCALA_BUILD_OPTIONS -d classes" |
182 |
191 |
183 JFXRT="$ISABELLE_JDK_HOME/jre/lib/jfxrt.jar" |
192 JFXRT="$ISABELLE_JDK_HOME/jre/lib/jfxrt.jar" |
184 |
193 |
185 if [ "$TEST_PIDE" = true ]; then |
194 ( |
186 isabelle_scala scalac $SCALAC_OPTIONS \ |
195 for X in "$JFXRT" "${JFREECHART_JARS[@]}" classes |
187 -classpath "$(jvmpath "$JFXRT:classes")" "${PIDE_SOURCES[@]}" || \ |
196 do |
188 fail "Failed to compile PIDE sources" |
197 CLASSPATH="$CLASSPATH:$X" |
189 isabelle_scala scalac $SCALAC_OPTIONS \ |
198 done |
190 -classpath "$(jvmpath "$JFXRT:classes")" "${PURE_SOURCES[@]}" || \ |
199 CLASSPATH="$(jvmpath "$CLASSPATH")" |
191 fail "Failed to compile Pure sources" |
200 |
192 else |
201 if [ "$TEST_PIDE" = true ]; then |
193 isabelle_scala scalac $SCALAC_OPTIONS \ |
202 isabelle_scala scalac $SCALAC_OPTIONS "${PIDE_SOURCES[@]}" || \ |
194 -classpath "$(jvmpath "$JFXRT:classes")" "${PIDE_SOURCES[@]}" "${PURE_SOURCES[@]}" || \ |
203 fail "Failed to compile PIDE sources" |
195 fail "Failed to compile sources" |
204 isabelle_scala scalac $SCALAC_OPTIONS "${PURE_SOURCES[@]}" || \ |
196 fi |
205 fail "Failed to compile Pure sources" |
|
206 else |
|
207 isabelle_scala scalac $SCALAC_OPTIONS "${PIDE_SOURCES[@]}" "${PURE_SOURCES[@]}" || \ |
|
208 fail "Failed to compile sources" |
|
209 fi |
|
210 ) |
197 |
211 |
198 mkdir -p "$TARGET_DIR/ext" || fail "Failed to create directory $TARGET_DIR/ext" |
212 mkdir -p "$TARGET_DIR/ext" || fail "Failed to create directory $TARGET_DIR/ext" |
199 |
213 |
200 pushd classes >/dev/null |
214 pushd classes >/dev/null |
201 |
215 |