Difference between revisions of "Start Scripts"
Jump to navigation
Jump to search
| Line 7: | Line 7: | ||
===Windows=== | ===Windows=== | ||
| + | |||
| + | <pre class="brush:bash"> | ||
| + | @setlocal | ||
| + | @echo off | ||
| + | |||
| + | REM Path to this script | ||
| + | set PWD=%~dp0 | ||
| + | |||
| + | REM Paths to distributed files or source directories | ||
| + | REM set BXPATH=basex.jar | ||
| + | set BXPATH=%PWD%/../target/classes | ||
| + | |||
| + | REM Options for virtual machine | ||
| + | set VM=-Xmx1g | ||
| + | |||
| + | REM Run BaseX | ||
| + | java -cp "%BXPATH%" %VM% org.basex.BaseX %* | ||
| + | |||
| + | @endlocal | ||
| + | </pre> | ||
===Others=== | ===Others=== | ||
Revision as of 15:04, 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.
Contents
BaseX Server
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 REM set BXPATH=basex.jar set BXPATH=%PWD%/../target/classes REM Options for virtual machine set VM=-Xmx1g REM Run BaseX java -cp "%BXPATH%" %VM% org.basex.BaseX %* @endlocal
Others
BaseX GUI
The BaseX GUI an be started with the following scripts:
Windows
Others
BaseX Standalone
The BaseX Standalone an be started with the following scripts: