Hi Andy, hi Vincent,
I have just added a custom directory to the ZIP and EXE distributions [1,2]. The Windows distribution is still work in progress, because I need to find a way to dynamically import all available libraries [3].
Your testing feedback is welcome, Christian
[1] https://github.com/BaseXdb/basex/issues/1456 [2] http://files.basex.org/releases/latest/ [3] https://github.com/BaseXdb/basex/issues/1457
On Fri, May 12, 2017 at 12:51 AM, Lizzi, Vincent Vincent.Lizzi@taylorandfrancis.com wrote:
I like the idea of having a “custom” lib folder, also for the .zip distribution. That would make updating to new versions of BaseX a little easier.
Sent from my Windows 10 phone
From: Christian Grün Sent: Thursday, May 11, 2017 4:09 PM To: Andy Bunce Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] Java Modules - Constructor
In fact I have modified the bat to add a "lib2" folder where I can easier manage extension jars.
set CP=%MAIN%/BaseX.jar;%MAIN%/lib/*;%MAIN%/lib2/*
Good point. For the Windows executable, I thought about adding a 'custom' sub-directory in the lib folder. The jars in the lib directory could be deleted with each update, but the custom folder would be preserved.
But is the original problem a bug? That is after installing the jar via REPO install t:new("aaa") fails although it works when added to lib/
Be sure I’ll check this out later this week.
basex-talk@mailman.uni-konstanz.de