kitgit

tirbofish/dropbear · commit

e5d9f05cb314f328fb7824d1ffbdde8b965e4633

need to build fat jar jarvis, run github actions

Unverified

tk <4tkbytes@pm.me> · 2025-10-15 22:30

view full diff

diff --git a/README.md b/README.md
index 28e749c..82fb88e 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/eucalyptus-core/src/scripting.rs b/eucalyptus-core/src/scripting.rs
index 3db81d5..2708b83 100644
--- a/eucalyptus-core/src/scripting.rs
+++ b/eucalyptus-core/src/scripting.rs
@@ -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