getting bagel building

This commit is contained in:
benfry
2004-01-20 02:30:13 +00:00
parent c3c1e531e8
commit 6faef3f83a
4 changed files with 71 additions and 172 deletions

View File

@@ -49,7 +49,7 @@ public class PdeSketch {
// all these set each time build() is called
boolean externalRuntime;
String mainClassName;
//String mainClassName;
String classPath;
String libraryPath;
@@ -475,7 +475,7 @@ public class PdeSketch {
/**
* Have the contents of the currently visible tab been modified.
* Have the contents of the currently visible tab been modified?
*/
/*
public boolean isCurrentModified() {
@@ -521,6 +521,8 @@ public class PdeSketch {
// if .pde, run preproc to buildpath
// if no class def'd for the pde file, then complain
String mainClassName = null;
for (int i = 0; i < codeCount; i++) {
if (code[i].flavor == JAVA) {
// no pre-processing services necessary for java files
@@ -608,7 +610,7 @@ public class PdeSketch {
//
PdeCompiler compiler = new PdeCompiler();
boolean success = compiler.compile(this, buildPath);
return success ? className : null;
return success ? mainClassName : null;
}