.basex config file
Saturday, 3 April 2010 · 3 messages · last reply 4 Apr 2010
TW
Travis Webb3 Apr 2010 21:47 #
I have another question regarding the .basex config file. How does basex determine the home directory of the current user? by looking at $HOME? I'd like to trick basex into thinking this file is somewhere else, because the hard restriction that this file must reside in the home directory of the current user will not work for our use.
-tjw
AW
Andreas Weiler4 Apr 2010 10:35 #
Dear Travis,
you can change the path of the databases in the .basex file in the entry
DBPATH = ....
Another way is to change the path of the databases in the GUI, at Options -> Preferences -> Database Path.
Kind regards,
Andreas (BaseX Team)Quoted text · Travis Webb · 15 lines
Travis Webb schrieb: > I have another question regarding the .basex config file. How does > basex determine the home directory of the current user? by looking at > $HOME? I'd like to trick basex into thinking this file is somewhere > else, because the hard restriction that this file must reside in the > home directory of the current user will not work for our use. > > -tjw > ------------------------------------------------------------------------ > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
AW
Andreas Weiler4 Apr 2010 10:39 #
Dear Travis,
if you want to change the location of the .basex file, you can do that in the source in org.basex.core.Prop.java.
Here you can set the HOME String to a different location.
Kind regards,
Andreas (BaseX Team)
Quoted text · Andreas Weiler · 31 lines
Andreas Weiler schrieb: > Dear Travis, > > you can change the path of the databases in the .basex file in the > entry DBPATH = .... > Another way is to change the path of the databases in the GUI, at > Options -> Preferences -> Database Path. > > Kind regards, > Andreas (BaseX Team) > > Travis Webb schrieb: >> I have another question regarding the .basex config file. How does >> basex determine the home directory of the current user? by looking at >> $HOME? I'd like to trick basex into thinking this file is somewhere >> else, because the hard restriction that this file must reside in the >> home directory of the current user will not work for our use. >> >> -tjw >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> BaseX-Talk mailing list >> BaseX-Talk at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >> > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Written for BaseX 6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery