From 1fb2ed7fbc88085c7dae5eff45dec7d9be71a22d Mon Sep 17 00:00:00 2001 From: akrherz Date: Thu, 22 Aug 2024 10:50:08 -0500 Subject: [PATCH] fix: JiveGlobals API Usage --- .../java/com/igniterealtime/openfire/updaterunner/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/ci/updater/src/main/java/com/igniterealtime/openfire/updaterunner/Main.java b/build/ci/updater/src/main/java/com/igniterealtime/openfire/updaterunner/Main.java index 35baf4d0d1..c4c5342495 100644 --- a/build/ci/updater/src/main/java/com/igniterealtime/openfire/updaterunner/Main.java +++ b/build/ci/updater/src/main/java/com/igniterealtime/openfire/updaterunner/Main.java @@ -45,7 +45,7 @@ public static void main(String[] args) { PropertiesReader reader = new PropertiesReader(parent + "/maven-archiver/pom.properties"); String distributionDir = new File(parent).toPath().resolve("../../../../distribution/target/distribution-base").toFile().getCanonicalPath(); - JiveGlobals.setHomeDirectory(distributionDir); + JiveGlobals.setHomePath(distributionDir); JiveGlobals.setXMLProperty("connectionProvider.className", "org.jivesoftware.database.DefaultConnectionProvider"); JiveGlobals.setXMLProperty("database.defaultProvider.driver", connectionDriver);