Changes

Jump to navigation Jump to search
12 bytes added ,  16:23, 1 March 2016
no edit summary
* Initial values for global options can also be specified via system properties, which can e.g. be passed on with the [http://docs.oracle.com/javase/1.4.2/docs/tooldocs/windows/java.html#options -D flag] on command line, or using [http://docs.oracle.com/javase/6/docs/api/java/lang/System.html#setProperty(java.lang.String,%20java.lang.String) System.setProperty()] before creating a BaseX instance. The specified keys need to be prefixed with {{Code|org.basex.}}. An example:
<pre class="brush:bashxml">
java -Dorg.basex.CHOP=false -cp basex.jar org.basex.BaseX -c"get chop"
CHOP: false
* If using the Mac OS X packaged application then global options can be set within the Info.plist file within the Contents folder of the application package. For example:
<pre class="brush:xml"><key>JVMOptions</key> <array> <string>-Dorg.basex.CHOP=false</string> </array></pre>
* In XQuery, local options can be set via option declarations and pragmas (see [[XQuery Extensions]]).
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu