no special treatment for core.jar (also gives us error message for bad libs)

This commit is contained in:
Ben Fry
2013-07-20 22:02:41 -04:00
parent 1e4b3a4bc7
commit 9a21e8cb44

View File

@@ -99,8 +99,13 @@ public class JavaMode extends Mode {
public Library getCoreLibrary() {
if (coreLibrary == null) {
File coreFolder = Base.getContentFile("core");
coreLibrary = new Library(coreFolder);
// File coreFolder = Base.getContentFile("core");
// coreLibrary = new Library(coreFolder);
try {
coreLibrary = getLibrary("processing.core");
} catch (SketchException e) {
Base.log("Serious problem while locating processing.core", e);
}
}
return coreLibrary;
}