removed dependency for apps to set their classpath in expert mode (!)

This commit is contained in:
benfry
2003-08-04 04:44:56 +00:00
parent 32890bcd48
commit a97e28e604
3 changed files with 6 additions and 9 deletions

View File

@@ -166,8 +166,7 @@ public class PdeBase extends Frame
public PdeBase() {
super(System.getProperty("sun.boot.class.path"));
//super(WINDOW_TITLE);
super(WINDOW_TITLE);
frame = this; // clean this up later
try {

View File

@@ -45,6 +45,11 @@ public class PdeCompiler implements PdeMessageConsumer{
public boolean compileJava(PrintStream leechErr) {
String command[] = new String[] {
"jikes",
// used when run without a vm ("expert" mode)
"-bootclasspath",
System.getProperty("sun.boot.class.path"),
"-nowarn", // we're not currently interested in warnings
"+E", // output errors in machine-parsable format
"-d", buildPath, // output the classes in the buildPath

View File

@@ -41,13 +41,6 @@ import com.apple.mrj.*;
public class PdeEditor extends JPanel {
static final String DEFAULT_PROGRAM = "// type program here\n";
//static final String NEW_SKETCH_ITEM = "( new sketch )";
//static final String SKETCH_PREFIX_NAME = "sketch-";
//static final String CODE_FILENAME = "sketch.pde";
// otherwise, if the window is resized with the message label
// set to blank, it's preferredSize() will be fukered
static final String EMPTY = " ";