Skip to content

Add option rootDir - #1401

Open
joca-bt wants to merge 1 commit into
MariaDB4j:mainfrom
joca-bt:main
Open

Add option rootDir#1401
joca-bt wants to merge 1 commit into
MariaDB4j:mainfrom
joca-bt:main

Conversation

@joca-bt

@joca-bt joca-bt commented Sep 8, 2026

Copy link
Copy Markdown

It's difficult to change the root dir for the mariadb4j files. If the user only wants to change the root dir while keeping the default layout, this requires changing several options and mirroring what the library actual does.

Introduce option rootDir to simplify this.

Options baseDir, libDir, dataDir, tmpDir, and socket all had hardcoded paths containing java.io.tmpdir, this is now less problematic.

It's difficult to change the root dir for the mariadb4j files. If the user only
wants to change the root dir while keeping the default layout, this requires
changing several options and mirroring what the library actual does.

Introduce option rootDir to simplify this.

Options baseDir, libDir, dataDir, tmpDir, and socket all had hardcoded paths
containing java.io.tmpdir, this is now less problematic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant