checking in dmose parser and changes to make it usable

This commit is contained in:
benfry
2003-09-02 01:53:44 +00:00
parent bb521be137
commit 1744dc8820
9 changed files with 527 additions and 296 deletions

View File

@@ -27,7 +27,7 @@ import java.io.*;
import javax.swing.*;
public class PdeCompiler implements PdeMessageConsumer{
public class PdeCompiler implements PdeMessageConsumer {
static final String SUPER_BADNESS =
"Strange error while compiling, " +
"please send code to processing@media.mit.edu";
@@ -71,7 +71,7 @@ public class PdeCompiler implements PdeMessageConsumer{
abuffer.append(":/System/Library/Java/Extensions/" + list[i]);
}
}
additional = abuffer.toString();
additional = abuffer.toString();
#endif
}
@@ -81,6 +81,7 @@ public class PdeCompiler implements PdeMessageConsumer{
String command[] = new String[] {
#ifdef MACOS
// linux doesn't seem to like this
// though windows probably doesn't care
userdir + "jikes",
#else
"jikes",
@@ -95,8 +96,9 @@ public class PdeCompiler implements PdeMessageConsumer{
"-bootclasspath",
System.getProperty("sun.boot.class.path") + additional,
// definitely needed on macos, but not tested elsewhere
// probably wouldn't hurt on the others
// needed for macosx so that the classpath is set properly
// also for windows because qtjava will most likely be here
// and for linux, it just doesn't hurt
"-classpath",
System.getProperty("java.class.path"),