On 03/24/2013 12:15 PM, Florent Georges wrote:
   Hi,

   When I start a BaseXServer in Java, it creates a config file
~/.basex and a data directory ~/BaseXData.  Is there any way to
ask BaseX not to create the config file, and to use a specific
another data directory?

   Or at least to tell it where to look for the config file
(instead of going to ~/.basex)?  I couldn't find either in the
documentation.

If you look at org.basex.test.SandboxTest.java you can see the location of the data directory being specified. BaseXServer has a constructor that takes a Context. Presumably, you could use a context initialized as it is in SandboxTest to change the location.

So far, I am using LocalSession and the data directory is created where I specify, and ~/.basex and ~/BaseXData are not created.

Kendall
_______________________________________________
BaseX-Talk mailing list
[email protected]
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to