property
element. See Framework properties for more informationfile
element, each defining the relative or absolute path for the corresponding XML file.<files> <file url="applications.xml" /> <file url="services.xml" /> <file url="types.xml" /> <file url="properties.xml" /> <property key="logStackTraces" value="true" /> <property key="logMaximumLines" value="200" /> </files>
<file url="the file" />Note that:
services
, the parser will assume that the file is a services configuration fileinclude
element allows to include another configuration file in another. For example:<files> <file url="applications.xml" /> <file url="services.xml" /> <file url="types.xml" /> <include url="included.xml" /> </files>
property
element allows to set the value of a framework property. For example:<files> <file url="applications.xml" /> <file url="services.xml" /> <file url="types.xml" /> <property key="logStackTraces" value="true" /> </files>
echo
element allows to show the value of an environment variable or a confProperty.
java -jar protoframework.jar config=filelist.xml
It is also possible to use more than one configuration file, for example:
java -jar protoframework.jar config=filelist1.xml;fileliste2.xml
<files> <file url="applications.xml" /> <file url="services.xml" /> <file url="types.xml" /> </files>
<files> <file url="applications.xml" /> <file url="services.xml" /> <file url="types.xml" /> <file url="network.xml" /> <file url="properties.xml" /> </files>
<files> <file url="applications.xml" /> <file url="services.xml" /> <file url="types.xml" /> <file url="network.xml" /> <property key="logStackTraces" value="true" /> <property key="logMaximumLines" value="200" /> </files>
<files> <env key="APPLIS" /> <file url="${APPLIS}" /> <file url="services.xml" /> <file url="types.xml" /> </files>
<files> <file url="applications.xml" /> <file url="services.xml" /> <file url="types.xml" /> <include url="included.xml" /> </files>With the following content for the
include
declaration:<files> <property key="logStackTraces" value="true" /> <property key="logMaximumLines" value="200" /> </files>It is equivalent to:
<files> <file url="applications.xml" /> <file url="services.xml" /> <file url="types.xml" /> <property key="logStackTraces" value="true" /> <property key="logMaximumLines" value="200" /> </files>
services
, the parser will assume that the file is a services configuration fileCopyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence