moving core.jar and friends

This commit is contained in:
benfry
2012-07-20 22:34:12 +00:00
parent a2f5c06873
commit 6a216e6f0b
9 changed files with 48 additions and 12 deletions

View File

@@ -59,11 +59,9 @@ public class JavaBuild {
*/
private String javaLibraryPath;
/**
* List of library folders, as figured out during preprocessing.
*/
/** List of library folders, as figured out during preprocessing. */
private ArrayList<Library> importedLibraries;
public JavaBuild(Sketch sketch) {
this.sketch = sketch;

View File

@@ -29,6 +29,7 @@ import java.util.HashMap;
import processing.app.Base;
import processing.app.Editor;
import processing.app.EditorState;
import processing.app.Library;
import processing.app.Mode;
import processing.app.RunnerListener;
import processing.app.Sketch;
@@ -167,7 +168,16 @@ public class JavaMode extends Mode {
"application.linux"
};
}
public Library getCoreLibrary() {
if (coreLibrary == null) {
File coreFolder = Base.getContentFile("core");
coreLibrary = new Library(coreFolder, null);
}
return coreLibrary;
}
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .