queries and setting on temp directory

Saturday, 4 November 2017 · 3 messages · last reply 18 Dec 2017
SA
Stefania Axo4 Nov 2017 02:32 #
Hi all, i noticed that queries (http://localhost:8984/dba/queries) and the dba setting are saved in the temp directory and not on the \basex\data dir. For example: - C:\Users\IBM_ADMIN\AppData\Local\Temp\dba\ if BaseX is installed from the zip file in Wndows Os - C:\Program Files\IBM\WebSphere\Liberty\usr\servers\myApp\temp\dba if BaseX is installed as BaseX.war on WebSphere Liberty in Windows OS All the other data seems to be under the home basex\data directory: logs, databases, users. Is that a reason for that? thanks Stefania
CG
Christian Grün4 Nov 2017 17:26 #
Hi Stefania, With BaseX 9.0, it will be possible to change the query directory. But I agree it could make sense to move the DBA settings file, and maybe also the default query folder, into the database directory. We’ll have some more thoughts on this [1]; feedback from other users is welcome. Best, Christian [1] https://github.com/BaseXdb/basex/issues/1515
Quoted text · Stefania Axo · 19 lines
On Sat, Nov 4, 2017 at 1:31 AM, Stefania Axo <stefy at us.ibm.com> wrote: > Hi all, > i noticed that queries (http://localhost:8984/dba/queries) and the dba > setting are saved in the temp directory and not on the \basex\data dir. > > For example: > - C:\Users\IBM_ADMIN\AppData\Local\Temp\dba\ if BaseX is installed from the > zip file in Wndows Os > - C:\Program Files\IBM\WebSphere\Liberty\usr\servers\myApp\temp\dba if > BaseX is installed as BaseX.war on WebSphere Liberty in Windows OS > > All the other data seems to be under the home basex\data directory: logs, > databases, users. > > Is that a reason for that? > > > thanks > Stefania
CG
Christian Grün18 Dec 2017 17:37 #
A little update: With BaseX 9.0, the DBA default directory will be data/.dba.
Quoted text · Christian Grün · 35 lines
On Sat, Nov 4, 2017 at 5:26 PM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi Stefania, > > With BaseX 9.0, it will be possible to change the query directory. But > I agree it could make sense to move the DBA settings file, and maybe > also the default query folder, into the database directory. We’ll have > some more thoughts on this [1]; feedback from other users is welcome. > > Best, > Christian > > [1] https://github.com/BaseXdb/basex/issues/1515 > > > > On Sat, Nov 4, 2017 at 1:31 AM, Stefania Axo <stefy at us.ibm.com> wrote: >> Hi all, >> i noticed that queries (http://localhost:8984/dba/queries) and the dba >> setting are saved in the temp directory and not on the \basex\data dir. >> >> For example: >> - C:\Users\IBM_ADMIN\AppData\Local\Temp\dba\ if BaseX is installed from the >> zip file in Wndows Os >> - C:\Program Files\IBM\WebSphere\Liberty\usr\servers\myApp\temp\dba if >> BaseX is installed as BaseX.war on WebSphere Liberty in Windows OS >> >> All the other data seems to be under the home basex\data directory: logs, >> databases, users. >> >> Is that a reason for that? >> >> >> thanks >> Stefania

⚡Generated with XQuery