mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 10:30:44 +01:00
moving core.jar and friends
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user