Changes

Jump to navigation Jump to search
73 bytes added ,  12:56, 2 July 2020
m
Text replacement - "[http://en.wikipedia.org/" to "[https://en.wikipedia.org/"
Each BaseX [[Startup]] mode can be launched with its own Start Script which can in turn be used with its own range of [[Command-Line Options]]. The BaseX [httphttps://basex.org/download/ Windows and ZIP distributions] readily include all Start Scripts.
* We recommend you to manually add the {{Code|bin}} directory of your BaseX directory to the [httphttps://en.wikipedia.org/wiki/PATH_(variable) PATH variable] of your environment.
* You can copy the start scripts to another location in your file system. After that, you should edit the scripts and assign the BaseX directory to the {{Code|MAIN}} variable.
* The Windows installer automatically adds the project’s {{Code|bin}} directory to your path environment.
==Windows: {{Code|basex.bat}}==
<pre classsyntaxhighlight lang="brush:bashbatch">
@echo off
setLocal EnableDelayedExpansion
REM Run code
java -cp "%CP%" %BASEX_JVM% org.basex.BaseX %*
</presyntaxhighlight>
==Linux/Mac: {{Code|basex}}==
<pre classsyntaxhighlight lang="brush:bash">
#!/usr/bin/env bash
# Run code
java -cp "$CP" $BASEX_JVM org.basex.BaseX "$@"
</presyntaxhighlight>
=GUI, Server, Client=
==Windows: {{Code|basexhttp.bat}}==
<pre classsyntaxhighlight lang="brush:bashbatch">
@echo off
setLocal EnableDelayedExpansion
REM Run code
java -cp "%CP%" %BASEX_JVM% org.basex.BaseXHTTP %*
</presyntaxhighlight>
==Linux/Mac: {{Code|basexhttp}}==
<pre classsyntaxhighlight lang="brush:bash">
#!/usr/bin/env bash
# Run code
java -cp "$CP" $BASEX_JVM org.basex.BaseXHTTP "$@"
</presyntaxhighlight>
=Included Start Scripts=
The BaseX [httphttps://basex.org/download/ Windows and ZIP distributions] readily include the following Start Scripts:
{| class="wikitable"
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu