first version that fully compiles since the overhaul

This commit is contained in:
benfry
2003-11-11 18:03:15 +00:00
parent 3a857765ea
commit 9902d0baed
14 changed files with 290 additions and 533 deletions

View File

@@ -122,12 +122,10 @@ public class PdeCompiler implements PdeMessageConsumer {
String msg = e.getMessage();
if ((msg != null) && (msg.indexOf("jikes: not found") != -1)) {
//System.err.println("jikes is missing");
JOptionPane.showMessageDialog(editor.base,
"Could not find the compiler.\n" +
"jikes is missing from your PATH,\n" +
"see readme.txt for help.",
"Compiler error",
JOptionPane.ERROR_MESSAGE);
PdeBase.showWarning("Compiler error",
"Could not find the compiler.\n" +
"jikes is missing from your PATH,\n" +
"see readme.txt for help.", null);
return false;
}
e.printStackTrace();
@@ -469,7 +467,7 @@ public class PdeCompiler implements PdeMessageConsumer {
files[i].charAt(0) != '.') {
ZipEntry entry = new ZipEntry(nowfar);
zos.putNextEntry(entry);
zos.write(PdeEditor.grabFile(sub));
zos.write(PdeBase.grabFile(sub));
zos.closeEntry();
}
}