Nevermind. I couldn’t find it on my first hour of searching the docs. 
Then I found it 5 minutes after asking for help! 

http://docs.basex.org/wiki/Configuration 


— Steve M. 


On May 15, 2019, at 2:33 PM, Majewski, Steven Dennis (sdm7g) <sdm7g@virginia.edu> wrote:

I’ve been learning and testing basex with the default MacOS home-brew installation.

For production, I’m planning on using the war file served using tomcat.

I would like to use the basex command line client and BaseXGUI to do some initial setup and testing on the tomcat web app databases.  

Is there a java property setting or other way to set the data directory location for these programs ?
Or do I have to set these paths in  ~/basex/.basex file .

The latter is not ideal, as I may need to run update scripts from different user cron jobs, so I’ld rather not depend on home directory.


— Steve Majewski