tirbofish/dropbear · commit
e5d9f05cb314f328fb7824d1ffbdde8b965e4633
need to build fat jar
jarvis, run github actions
Signature present but could not be verified.
Unverified
@@ -44,10 +44,10 @@ Then run this to build the project git clone git@github.com:4tkbytes/dropbear cd dropbear +# eucalyptus-editor requires dropbear-1.0-SNAPSHOT-all.jar to be built first +./gradlew build # this will build all the projects in the workspace cargo build -# ensure that rust is built before gradlew as rust produces a cdylib which gradlew needs to link to -./gradlew build ``` [//]: # (# ensure submodules are checked-out) @@ -57,7 +57,9 @@ cargo build [//]: # (git submodule update) > [!TIP] -> It is recommended to use IntelliJ IDEA with the Rust plugin to help contribute to the engine. If you are a normal joe, +> It is recommended to use IntelliJ IDEA with the Rust plugin to help contribute to the engine. +> +> If you are a normal joe, > then just use the standard IntelliJ IDEA. ### Prebuilt @@ -46,14 +46,21 @@ pub struct ScriptManager { impl ScriptManager { pub fn new() -> anyhow::Result<Self> { - Ok(Self { + let mut result = Self { jvm: None, library: None, script_target: Default::default(), entity_tag_database: HashMap::new(), jvm_created: false, lib_path: None, - }) + }; + + let jvm = JavaContext::new()?; + result.jvm = Some(jvm); + result.jvm_created = true;
Large diffs are not rendered by default. Showing the first 50 of 142 lines. Show full diff