Skip to content

Commit

Permalink
fix: JiveGlobals API Usage
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Aug 22, 2024
1 parent d51af3f commit 1fb2ed7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1fb2ed7

Please sign in to comment.