diff --git a/app/src/processing/app/Library.java b/app/src/processing/app/Library.java index 10ca21cbe..7b8adc556 100644 --- a/app/src/processing/app/Library.java +++ b/app/src/processing/app/Library.java @@ -99,7 +99,7 @@ public class Library extends LocalContribution { } - private Library(File folder) { + public Library(File folder) { this(folder, null); } diff --git a/app/src/processing/mode/java/JavaMode.java b/app/src/processing/mode/java/JavaMode.java index 1a5bb3d30..0753404b5 100644 --- a/app/src/processing/mode/java/JavaMode.java +++ b/app/src/processing/mode/java/JavaMode.java @@ -99,13 +99,14 @@ public class JavaMode extends Mode { public Library getCoreLibrary() { if (coreLibrary == null) { -// 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); - } + File coreFolder = Base.getContentFile("core"); + coreLibrary = new Library(coreFolder); +// try { +// coreLibrary = getLibrary("processing.core"); +// System.out.println("core found at " + coreLibrary.getLibraryPath()); +// } catch (SketchException e) { +// Base.log("Serious problem while locating processing.core", e); +// } } return coreLibrary; } diff --git a/todo.txt b/todo.txt index b1444b91d..3d4fc9bcf 100644 --- a/todo.txt +++ b/todo.txt @@ -29,6 +29,8 @@ X this should be better now X Add methods to move files to Trash/Recycle Bin where available _ verify that the OS X version uses the real call _ and doesn't just look for .Trash +_ getCoreLibrary() is breaking OpenGL +_ "new Library()" constructor needs to go back to private cleaning/earlier X common error messages