Re: [basex-talk] INFO and dp:system() show different values

2018-01-29 Thread Christian GrĂ¼n
Hi Lars,

Do you invoke basexhttp, and the BaseX instance that you use for
calling the INFO command, from the same directory? How do you call
INFO?

Cheers,
Christian



On Mon, Jan 29, 2018 at 2:57 PM, Lars Johnsen  wrote:
> Hi all
>
> when restarting a http-server, the script for accessing no longer finds the
> databases using db:open().
>
> The path to the database using INFO in command line basex says one thing,
> while output from db:system() is different
>
> db:system() .../basex-webapp/webapp/WEB-INF/data
> INFO:   .../basex-webapp/data
>
> The folder /webapp is where the scripts are. There is only one file .basex
> which contain the same as shown with INFO, which resides under folder
> /basex-webapp.
>
> Any thoughts?
>
> Best
> Lars
>


[basex-talk] INFO and dp:system() show different values

2018-01-29 Thread Lars Johnsen
Hi all

when restarting a http-server, the script for accessing no longer finds the
databases using db:open().

The path to the database using INFO in command line basex says one thing,
while output from db:system() is different

db:system() .../basex-webapp/webapp/WEB-INF/data
INFO:   .../basex-webapp/data

The folder /webapp is where the scripts are. There is only one file .basex
which contain the same as shown with INFO, which resides under folder
/basex-webapp.

Any thoughts?

Best
Lars