The current dialog code has several dependencies, as one of the goals has been to provide basic infrastructure for agents to participate in the dialog through various media. All these packages are provided in the ‘war/WEB-INF/lib/’ folder in the source code: goto sources
The dialog tooling is based on the following external tools:
Below is a list of all required packages: (versions may probably vary, mentioned versions are known to work)
Currently the dialog has been tested to work with the Google App Engine SDK, version 1.6.2.1.
The dialog environment can be deployed through an Eclipse project and/or directly through Ant. The Ant version has an added benefit over the Eclipse deployment, as the build.xml file contains a script to bundle all class files into one JAR before deployment. As the Google App Engine has a relative high latency on disk-operations, this will significantly increase startup performance of new instances.
Within Eclipse the sources can “imported” as an existing project. Probably several paths will need to be fixed, especially with regard to the location of the Google App Engine SDK. Also, the current projectfile is created on Linux, so Windows users might need to fix some references.
After importing the project into the workspace, you need to modify the App Engine setting to reflect the name of your application and version. You can find these settings through the context menu in the Package Explorer on the project root folder. Select the context menu, within it the “Google” submenu, and then “App Engine Settings…”.
The project sources also contain an Ant buildfile. This file needs to be modified to reflect the correct “project base dir”, “eclipse_home” and “sdk.dir”. The Eclipse dependency can quite easily be removed from this file, if required.
If deploying through Ant, you need to manually edit the App Engine settings through “/war/WEB-INF/appengine-web.xml”.
In several places some hardcoded links are used. These need to be tailored to the new application path.
After deploying the project to the Google App Engine, you can test the setup by contacting the Charlotte agent directly through: “http://<applicationName>.appspot.com/charlotte” or (the ultimate test!) by starting a gtalk chat with ”<applicationName>@appspot.com”.