Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleLauncher configuration example
linenumberstrue
<?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>


...