Java
Sunday, 14 August 2016 · 2 messages
TD
Tushar Deshmukh14 Aug 2016 18:36 #
Namaste all,
I have embedded jetty in my application.
I am creating basex database. But this database is created on users/public folder in Windows.
I wanted to create it under my application folder. For this I have executed context to set dbpath. But it's returning error.
Please help how to set dbpath in Java.
If possible please please give code snippet.
Thanks
CG
Christian Grün14 Aug 2016 22:42 #
Namaste Tushar,
Did you already try the ZIP distribution of BaseX (the HTTP server can be started via basexhttp)?
If this is not helpful in your scenario, could you please give us more information on what you did so far? Which distribution of BaseX are you working with? How do you start Jetty? etc.
Thanks in advance
Christian
Quoted text · Tushar Deshmukh · 8 lines
> I have embedded jetty in my application. > I am creating basex database. But this database is created on users/public > folder in Windows. > I wanted to create it under my application folder. For this I have executed > context to set dbpath. But it's returning error. > Please help how to set dbpath in Java. > If possible please please give code snippet. > Thanks
Written for BaseX 8.5. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery