Salut Pierre-Yves, The home directory can be specified via the Java system property “org.basex.path”. As it’s required before BaseX is even started, it must be passed on to the JDK, e.g. via “-Dorg.basex.path=/path/to/my/basex”. This string can be… • statically added to the BASEX_JVM property in your “basexhttp” start script, or • dynamically assigned to JDK_JAVA_OPTIONS on command-line before running “basexhttp” (export JDK_JAVA_OPTIONS=...). Hope this helps. If not, just keep on asking ;) Merci et salutations, Christian On Wed, Jan 24, 2024 at 5:09 PM Pierre-Yves Jallud < pierre-yves.jallud@ens-lyon.fr> wrote:
Hi all,
I would like to precise the home directory of BaseX using org.basex.path (cf. https://docs.basex.org/wiki/Configuration#Home_Directory). Is it possible to configure this when I launch the basexhttp? For exemple, something like (befor launching basexhttp):
export org.basex.path=/path/to/my/basex
Or maybe:
basexhttp -S org.basex.path=/path/to/my/basex
... or what else?
Many thanks in advance to enlighten me 😇
Pierre-Yves
PS: as you can see, I didn't use Java for a long time 😅 ------------------------------ *Pierre-Yves Jallud* *Pôle Humanité Numériques / Ingénieur en ingénierie logicielle*
------------------------------ IHRIM - UMR 5317 <http://ihrim.ens-lyon.fr> CNRS <https://www.cnrs.fr> ENS de Lyon <http://www.ens-lyon.fr> 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 +33 (0)4 37 37 63 83 - pierre-yves.jallud@ens-lyon.fr ------------------------------