Hi Wendell,
no, this will not work with anything before BaseX 8.0. Before, we had another syntax (which had some drawbacks, that's why we changed it and now it also more of a standard within Linux). In this syntax -X served as flag that everything that follows will be interpreted as JVM argument.
8.0 is still not a stable release, so switching to it has the usual risk of using beta software. I think it is about to be release align with XML Prague, so it shouldn't be long until it is out.
Cheers, Dirk
On 01/18/2015 10:54 PM, Wendell Piez wrote:
Dirk and BaseX friends,
On Mon, Jan 12, 2015 at 3:57 AM, Dirk Kirsten dk@basex.org wrote:
So if I understood your setup correctly, all BaseX settings in your different projects are the same except the RESTXQ path? So one option could be to set the RESTXQ path manually before starting basexhttp. Using the latest 8.0 snapshot, this is done using the global variable BASEX_JVM. So executing
export BASEX_JVM=-Dorg.basex.RESTXQPATH=/my/restxq/directory && basexhttp
should use the path provided on the command line. If you want to startup all your projects this way you could write a little script which does this for you.
Perfect. (I am now seeing what to educate myself on. :-)
Will this also work with BaseX 7.9 or what would be an alternative, if $BASEX_JVM is not available?
(Or is it time to switch to 8.0?)
Cheers, Wendell