Namaste All, I want to use basex locally in Java swing project. I wanted to create database in the executable jar file's directory. Suppose my directory is on c:\tdd My code is as below public static void createdatabase() throw s Exception { Context cts = new Context(); new Set(StaticOptions.DBPATH,"c:\\tdd ). execute(cts); new CreateDB("collection"). execute(cts); cts.close(); } I am getting an error Global option ' DBPATH' cannot be set. Please guide As user input from GUI is getting saved in local database. Thanks Tushar Deshmukh.
I am getting an error Global option ' DBPATH' cannot be set.
For more information on how to assign global options, please check our documentation [1]. Hope this helps, Christian [1] http://docs.basex.org/wiki/Options
Please guide
As user input from GUI is getting saved in local database.
Thanks Tushar Deshmukh.
participants (2)
-
Christian Grün -
Tushar Deshmukh