Difference between revisions of "Start Scripts"
Jump to navigation
Jump to search
(→Others) |
|||
Line 1: | Line 1: | ||
The starting script files are available for every mode of BaseX and can be started on every operating system.<br /> | The starting script files are available for every mode of BaseX and can be started on every operating system.<br /> | ||
Note: Probably you have to modify the pathes in the script. | Note: Probably you have to modify the pathes in the script. | ||
− | |||
− | |||
The BaseX Server an be started with the following scripts: | The BaseX Server an be started with the following scripts: | ||
Line 22: | Line 20: | ||
REM Run BaseX | REM Run BaseX | ||
− | java -cp "%BXPATH%" %VM% org.basex. | + | java -cp "%BXPATH%" %VM% org.basex.XXX %* |
@endlocal | @endlocal | ||
Line 43: | Line 41: | ||
# Run BaseX | # Run BaseX | ||
− | java -cp "$BXPATH" $VM org.basex. | + | java -cp "$BXPATH" $VM org.basex.XXX "$@" |
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 14:09, 11 January 2011
The starting script files are available for every mode of BaseX and can be started on every operating system.
Note: Probably you have to modify the pathes in the script.
The BaseX Server an be started with the following scripts:
Windows
@setlocal @echo off REM Path to this script set PWD=%~dp0 REM Paths to distributed files or source directories set BXPATH=basex.jar REM Options for virtual machine set VM=-Xmx1g REM Run BaseX java -cp "%BXPATH%" %VM% org.basex.XXX %* @endlocal
Others
#!/bin/bash # Path to this script PWD=`dirname $0` # Paths to distributed files or source directories BXPATH=basex.jar #BXPATH=$PWD/../target/classes # Options for virtual machine VM=-Xmx1g # Run BaseX java -cp "$BXPATH" $VM org.basex.XXX "$@"