This topic describes how to use the JlmDeploy GUI to deploy your application and examine the deploy.txt file. The GUI gives access to exactly the same functionality as the other methods.
Launching the JlmDeploy GUI
To launch the JlmDeploy GUI, do one of the following:
-
From the
bin/jlmdeploy directory:
-
On Microsoft Windows systems run
run.bat.
-
On UNIX systems run
run.sh.
-
On Microsoft Windows systems, in the Start menu, click Deploy a jar or, on the Desktop, double-click the JlmDeploy icon.
The ILOG JlmDeploy GUI opens. For a description see ILOG JlmDeploy GUI Description.
Adding a deploy.txt to a JAR
To deploy your application:
-
On the Deploy menu, click Deploy.
A file chooser opens.
| Note |
| You can cancel the procedure at any time and return to the empty ILOG JlmDeploy GUI by clicking Cancel on the ILOG JlmDeploy GUI. The Status bar displays the message "No file chosen".
|
-
In the file chooser, select your Input JAR file.
jlmdeploy checks whether the JAR already has a deploy.txt:
-
If yes, an error dialog appears.
-
If no, the Input JAR file box displays the name of the file you selected.
-
In the Application Name box, type the application name.
When the application field is validated, the Display Area lists the JViews products associated with the application, see
Figure 1. The list is organized as follows:
-
Products for which development is possible but that do not have RUNTIME license keys matching the given application name are greyed and put at the bottom of the list.
-
Products for which deployment is possible are not greyed, and have an editable check box. The initial state of the check box is determined by the last run of
jlmdeploy for this application name; for those products which were not checkable in the last run, the initial state of the check box depends on whether the JAR appears to be using the product.
-
Select the products you want to include in the deployment by clicking the check boxes.
-
In the Output jar file box, do one of the following:
-
Accept the default destination JAR filename.
-
Type a new name.
-
Click Browse to open a file chooser and choose a file.
| Note |
| You can cancel the browse procedure at any time and return to default file choice by clicking Cancel on the ILOG JlmDeploy GUI.
|
-
To generate the destination JAR, click OK.
-
Any warnings are shown in a dialog box with Continue and Cancel options. If you choose to cancel the Status bar displays an "operation cancelled" message.
-
If the operation is successful, the Status bar displays a "success" message.
Displaying the Contents of a deploy.txt File
To display the contents of a deploy.txt file:
-
If you have not already done so, launch the JlmDeploy GUI.
-
On the Info menu, click List. A file chooser opens.
| Note |
| You can cancel this procedure at any time and return to the empty ILOG JlmDeploy GUI by clicking Cancel on the ILOG JlmDeploy GUI. The Status bar displays the message "No file chosen".
|
-
Choose a JAR name. The contents of the JAR's
deploy.txt file is displayed, see Figure 2.