Hi, I'm new to basex and NOT a java person at all. I'm creating an application where a basex database is used to search for song lyrics. I'm using the autoit3 scripting language in Windows and interfacing to basex using the basex61.jar on the command line with the output file. I'm starting the server and then using the client for the queries. So far so good. The performance is amazing in both loading the database from thousands of individual XML documents and in querying the database. Quite pleased.
My desire is to have an app where ALL the components reside in one directory or its subdirectories. I also want to be able to create and recreate the basex database programmatically using the CREATE on the command line. I understand that there exists a basex config file where certain parameters, like the data store location, can be set, but that the location of this file is assumed/fixed.i.e. I can't just put it anywhere I want it (like in the single directory I want this all to reside in). It seems that there are perhaps actual java commands that I could use when I launch the server and/or client that would allow me either to specify the location of the basex config file OR simply pass the parameters that I want to pass for specifying the location of the database. Unfortunately, none of the documentation on the site seems to address this level of interaction.
Is there another source of more detailed documentation somewhere or could someone please guide me in this? I think it all boils down to how to tell basex, via the command line, where to put the data (for the server) and where it resides (for the client).
Thank you very much!
mailto:david@leighweb.com DavidEmailSig