Important: To let the Tomcat server know where the license is stored, export the CVLICENSE environment variable with the command: export CVLICENSE=<path_to_license.dat>
1. Go to your <INSTALLDIR>/sdk/java-mashupui/project directory
2. Initialize the SDK with the following:
a. run init-sdk.<bat/sh> depending on your operating system,
b. define the hostname of the Exalead CloudView instance,
c. define the port number of the Exalead CloudView instance,
d. define the Application id (for example, "default"),
e. enter the admin login and password.
A development.properties file is generated in: <INSTALLDIR>/sdk/java-mashupui/project/war/WEB-INF/config. The SDK can now communicate with Exalead CloudView to read the configuration and work with the Mashup API.
3. Import the Exalead CloudView mashup project into Eclipse:
a. Select File > Import and browse to your <INSTALLDIR>/sdk/java-mashupui directory.
b. Select the project and click Finish.
The mashup project is added to the eclipse Project Explorer.
4. Add the Apache Tomcat server into Eclipse:
a. Select File > New > Server
b. Define your Apache Tomcat server as a new server.
5. Run the Exalead CloudView project as "Tomcat Server", and go to: http://localhost:8080/mashup-ui