So I downloaded and install Jetty and downloaded the jetty-runner.

java -jar jetty-runner-8.1.9.v20130131.jar /Applications/basex823-Moto/BaseX.jar 


When I use the runner and point to BaseX.jar, I can browse to the .xqm files from localhost:port, but I can't access the restxq paths. 

Do I need all the other references from the base start script? I notice it references the /lib folder which I believe would just start another instance of Jetty... Do I need to add the lib folder, but remove all the Jetty.jar from it?

I'm trying to understand the dependencies to figure out what I'm missing.

On Fri, May 20, 2016 at 12:07 AM, Dirk Kirsten <dk@basex.org> wrote:

Hello France,

good that you ping, bit I actually have the same problem about being a programmer and not a sysadmin :) So take everything I say with a grain of salt. So you start up your jetty as outline in the Jetty documentation:

java -jar jetty-runner.jar --stop-port 8181 --stop-key abc123> java -jar jetty-runner.jar --stop-port 8181 --stop-key abc123

and there you can give it any stop keys you want. Within the library path of Jetty you put your BaseX.jar and that way you will be able to use XQuery/RESTXQ.
When you download e.g. our zip distribution it is already bundled the other way round, i.e. jetty is included in the library path of BaseX and we start Jetty automatically.

I hope that clears up things a little and best regards
Dirk

On 05/18/2016 11:31 PM, France Baril wrote:
I'm pinging you again with my question in case it slipped through the cracks...

On Thu, May 12, 2016 at 6:19 PM, France Baril <france.baril@architextus.com> wrote:
I'm not sure I understand how to do that. If the call to baseX.jar start has everything embedded together, how would I split it up to control each part?

I'm a programmer, not a sysadmin, so it might be a basic question, but I'm not finding anything in the doc.



--
France Baril
Architecte documentaire / Documentation architect
france.baril@architextus.com


-- 
Dirk Kirsten, BaseX GmbH, http://basexgmbh.de
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
|-- Registergericht Freiburg, HRB: 708285, Geschäftsführer:
|   Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle
`-- Phone: 0049 7531 91 68 276, Fax: 0049 7531 20 05 22



--
France Baril
Architecte documentaire / Documentation architect
france.baril@architextus.com