scrollbar |
---|
Table of Contents |
---|
Launching Delft-FEWS
...
Launching Delft-FEWS (2018.02 and higher)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8"?>
<!--WIS Application Launcher -->
<launcher xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/launcher.xsd">
<!--Title of the launcher window-->
<title>Launcher Test</title>
<!--Do not change the action ID, the launcher relies on an exact match.-->
<action id="ViewReports">
<webPage name="Rapporten Midlands" appPath="C:\Program Files\Internet Explorer\iexplore.exe" arg="http://146.213.31.101/MC00_Reports"/>
</action>
<!--Do not change the action ID, the launcher relies on an exact match.-->
<action id="LaunchFewsClient">
<!--Optional field. Configure the text on the button.-->
<buttonText>Start FEWS</buttonText>
<!--Optional field. Configure the text over the selection.-->
<description>Launch FEWS for Clients</description>
<executable>
<!--Path to the FEWS executable file. Has to be an absolute path.-->
<appPath>D:\fews\bin\windows\Delft-FEWS.exe</appPath>
<region>Hogwats</region>
<operationMode>StandAlone</operationMode>
<arguments>
<!--Any number of arguments can be configured. Region needs has to be configured. Use absolute path. All arguments should start with -D -->
<argument>-Dregion.home=D:\fews\Hogwarts</argument>
<argument>-DautoRollingBarrel=false</argument>
</arguments>
</executable>
<!--You can configure several regions.-->
<executable>
<appPath>D:\fews\FEWS-20434\fews-stable-201802-82884-bin\windows\Delft-FEWS.exe</appPath>
<region>Mines of Moria</region>
<operationMode>OnLine</operationMode>
<arguments>
<argument>-Dregion.home=D:\fews\Moria</argument>
<argument>-DautoRollingBarrel=false</argument>
</arguments>
</executable>
</action>
<!--Do not change the action ID, the launcher relies on an exact match.-->
<action id="LaunchConfigManager">
<buttonText>Manage configurations</buttonText>
<description>Configuration manager</description>
<executable>
<appPath>D:\fews\bin\windows\Delft-FEWS.exe</appPath>
<region>Hogwats</region>
<operationMode>StandAlone</operationMode>
<arguments>
<!--Configure region home-->
<argument>Dregion.home=\Config Manager</argument>
<argument>-D<configure database URL here></argument>
</arguments>
</executable>
<executable>
<appPath>D:\fews\FEWS-20434\fews-stable-201802-82884-bin\windows\Delft-FEWS.exe</appPath>
<region>Mines of Moria</region>
<operationMode>OnLine</operationMode>
<arguments>
<argument>-Dregion.home=D:\fews\Moria</argument>
<argument>-DautoRollingBarrel=false</argument>
</arguments>
</executable>
</action>
<!--Do not change the action ID, the launcher relies on an exact match.-->
<action id="LaunchAdminInterface">
<description>Inspect Reports</description>
<webPage name="Hogwarts" appPath="C:\Program Files\Internet Explorer\iexplore.exe" arg="http://fewsappsvr01:8081/manager/html"/>
</action>
</launcher>
|
4 different actions can be configured:
ViewReports
LaunchFewsClient
LaunchConfigManager
LaunchAdminInterface
The ids of the 4 actiuns must match exactly. All paths configured need to be absolute paths, not relative.
Within the action tags you can choose from 3 otiopns for the configuration. Use webPage for ViewReports and LaunchAdminInterface. Use executable for LaunchFewsClient and LaunchConfigManager. The third choice, javaApp is no longer supported since 2018.02.To be completed