Hi,

I see now that I can change the path in the GUI under preferences, but once I change it I cannot access databases in the "data" folder anymore. It seems that in db:open I can specify to open a particular file of a database, but I cannot specify the path to a database in a folder different from the default one: is that right? Thanks!


Universität Leipzig
Institute of Computer Science, NLP
Augustusplatz 10
04109 Leipzig
Deutschland
E-mail: celano@informatik.uni-leipzig.de
E-mail: giuseppegacelano@gmail.com
Web site 1: http://asv.informatik.uni-leipzig.de/en/staff/Giuseppe_Celano 
Web site 2: https://sites.google.com/site/giuseppegacelano/

On Jul 23, 2018, at 4:30 PM, Christian Grün <christian.gruen@gmail.com> wrote:

Hi Giuseppe,

As DBPATH is a command, no option, you will need to set as detailed in
the Options page of our documentation [1]. Please note that DBPATH is
a global option. It cannot be assigned at runtime; instead, it must be
assigned before BaseX is started

Ciao,
Christian

[1] http://docs.basex.org/wiki/Options



On Mon, Jul 23, 2018 at 4:19 PM Giuseppe Celano
<celano@informatik.uni-leipzig.de> wrote:

Hi,

I would like to create a database in a directory which is not "data" within the Basex folder. I used (within the GUI) the command

<commands>
 <dbpath name="/newdirectory"/>
</commands>

but it does not work. How can I specify that? Thanks.

Ciao,
Giuseppe