Changes

Jump to navigation Jump to search
5 bytes removed ,  02:45, 15 February 2011
Note: Please replace <code>XXX</code> with either <code>BaseXServer</code>, <code>BaseXClient</code>, <code>BaseX</code>, or <code>BaseXGUI</code>.
==BaseX REST JAX-RX Server==The scripts for starting the [[JAX-RX API|JAX-RX (REST ) Server]] can be found below.
===Windows===
REM Classpath
set LIB=%PWD%/../lib
set CP=%BASEX%;%BASEXAPI%;%LIB%/jax-rx-1.2.89.jar;%LIB%/jetty-6.1.25.jar;%LIB%/jetty-util-6.1.25.jar;
set CP=%CP%;%LIB%/servlet-api-2.5-20081211.jar;%LIB%/jersey-server-1.4.jar;%LIB%/jersey-core-1.4.jar;%LIB%/asm-3.1.jar
REM Options for virtual machine
set VM=-Xmx1gXmx512m
REM Run JAX-RX servercodejava -cp "%CP%;." %VM% org.basex.api.jaxrx.JaxRxServer %*
</pre>
# Classpath
LIB=$PWD/../lib
CP=$BASEX:$BASEXAPI:$LIB/jax-rx-1.2.89.jar:$LIB/jetty-6.1.25.jar:$LIB/jetty-util-6.1.25.jar:
CP=$CP:$LIB/servlet-api-2.5-20081211.jar:$LIB/jersey-server-1.4.jar:$LIB/jersey-core-1.4.jar:$LIB/asm-3.1.jar
# Options for virtual machine
VM=-Xmx1gXmx512m
# Run JAX-RX servercode
java -cp "$CP" $VM org.basex.api.jaxrx.JaxRxServer "$@"
</pre>
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu