Generate a standard WAR file

Configuration files for MashupUI/360/Exalead CloudView are fetched from the file system. Therefore, we recommend using a standard WAR file when the deployment server has file system access to Exalead CloudView configuration folders. Changes made to the Mashup UI configuration are immediately reflected in the application, no redeployment is needed.

See Also
Requirements
Generate a standalone WAR File
  1. Go to your <INSTALLDIR>/sdk/java-mashupui/project directory.

    Note: If you want to move your project to another instance, you have to edit the /WEB-INF/config/development.properties config file which is automatically filled when you run init-sdk.sh. For more details, see step 2 in Installing a Development Environment.

  2. Run cloudview-war.<bat/sh> depending on your operating system.
  3. Copy the 360-cloudview-mashup-ui.war file into the webapps directory of your Exalead CloudView instance (<DATADIR>/webapps).
  4. Go to the <DATADIR>/config directory and open the Deployment.xml file.
  5. Find the <Role> named "MashupUI" and add:

    <RoleAttribute name="warPath" value="data:///webapps/360-cloudview-mashup-ui.war" />

  6. In your <DATADIR>/bin directory, run the following script to apply the configuration files: cvcmd.sh applyConfig
  7. Restart Exalead CloudView.