Jump to: navigation, search

Building and Deploying an Application

Complete the procedures on this page after you have created and customized your Genesys Web Engagement application.

Building your Application

After you complete this procedure, your application's .war files are created in sub-directories of the <GWE_installation>\apps\<your_application_name> folder.

Start

  1. Navigate to the installation directory for Genesys Web Engagement and open a new console window.
  2. Use the build script (build.bat on Windows and build.sh on Linux) to build your application:
    build <your_application_name>

End

The script builds .war files used for deployment. If the build is successful, the console output displays a BUILD SUCCESSFUL messages at run-time, and the .war files are created in the sub-directories:

  • <GWE_installation>\apps\<your_application_name>\backend\target\backend.war
  • <GWE_installation>\apps\<your_application_name>\frontend\target\frontend.war

In addition, a new map.xml file is created in the <GWE_installation>\apps\<your_application_name>\proxy\target\ directory.

Next Steps

Deploying your Application

Warning
You must only deploy an application when the GWE servers are not running.

Prerequisites

  • Your build was successful. If your build fails due to errors, try to fix them, then rebuild. You can neither deploy nor start your Web Engagement servers if the build is not successful.

Start

  1. Navigate to the installation directory for Genesys Web Engagement and open a new console window.
  2. Use the deploy script (deploy.bat on Windows and deploy.sh on Linux) to build your application:
    deploy <your_application_name>

End

The deploy script copies files to the appropriate locations. If the deploy is successful, the script output displays a BUILD SUCCESSFUL messages at run-time.

Warning
Do not deploy if errors occurred during the building step! See Building your Application.

Next Steps

This page was last modified on July 16, 2014, at 05:54.

Feedback

Comment on this article:

blog comments powered by Disqus