Breadcrumb
- Sabre Red 360 Software Development Kit Help
- Desktop Red Apps
- Sabre Red 360 Developer Toolkit Upgrade and Maintenance
Sabre Red 360 Developer Toolkit Upgrade and Maintenance
Before you can upgrade to a new version of the Sabre Red 360 Developer Toolkit, you must have installed a previous version. For first-time installation, complete all procedures in Setup for Desktop Red App Development.
Sabre Scribe Compiler Included as a part of the native Sabre Red 360 Developer Toolkit for the Eclipse IDE is a 32-bit Sabre Scribe Compiler (compatible with 64-bit Windows operating systems).
Red App Developers can now also get access to Scribe Designer and Compiler tool as a part of the Sabre Red 360 Developer Toolkit, allowing them to Create/Edit & Modify Sabre Scripts and also wrap them into Sabre Red Apps to take advantage of Sabre Red 360 provisioning capabilities. Scribe developers that wish to continue deploying Sabre Scripts in the legacy method can continue using their existing process.
The Sabre Red 360 Developer Toolkit Scribe Designer provides the same features as the existing Eclipse Sabre Scribe Developer. For more information of converting Sabre Scripts into Red Apps and the benefits of integrating with the Sabre Red App technology, please visit the integrated Eclipse Red App documentation after Installing the Red App Development Tools Software. That is required to get access to Developer Documentation and Tools, including Sabre Scribe Compiler.To get access to the Scribe Designer and compiler, follow the Sabre Red 360 Developer Toolkit Setup process and then read the Scribe Environment Setup section.For more information on developing Sabre Scripts, view the Sabre Scribe Resources.
Setup for Red App Development.
To upgrade your Sabre Red 360 Developer Toolkit to the latest version, complete all steps in this chapter in the order in which they are shown. The procedures are organized into the following parts:
-
Upgrading to a New Version of Sabre Red 360 Developer Toolkit
-
Upgrading to a New Version of the Development Tools.
You have to install or upgrade to a new version to get the updated Red App help in the latest Sabre Red 360 Developer Toolkit!
This chapter also includes the following maintenance procedures:
Upgrading to a New Version of Sabre Red 360 Developer Toolkit
This procedure is organized into the following sections:
Before you begin, obtain the latest version of the Sabre Red 360 Developer Toolkit from the Sabre Dev Studio Red App Developer Resources
Extracting a New Version of the Sabre Red 360 Developer Toolkit
Note
|
Remember to retain the same workspace location in Eclipse that you created when you set up your target platform. See Adding a Red App Target Platform. |
-
Download Sabre Red 360 Developer Toolkit file and place it in the *parent folder* that you established for Red Apps when you set up your development environment. (Refer to Step 1 in Extracting the Sabre Red 360 Developer Toolkit).
Do not delete any of the sub-folders that contain the previous versions of the Sabre Red 360 Developer Toolkit.
-
After that, close the Eclipse.
-
On Windows right-click
red-app-sdk-….zip
file, select Extract All…, then select the place where it should be extracted.On macOS the file may be already extracted. If it was not extracted automatically - just double click
red-app-sdk-….tgz
file.Alternatively you can use third-party tool (eg. free software like 7zip or proprietary like WinZip).
Be sure to retain the folder structure while extracting the file.
The process of extracting the archive file automatically creates a new sub-folder and names the sub-folder with the upgraded version of Sabre Red 360 Developer Toolkit.
Figure 1. Folders for Multiple Versions of Sabre Red 360 Developer Toolkit
In the example, red-app-sdk-3.0-19.2-windows
is the sub-folder with the upgraded version of the toolkit. This sub-folder contains additional sub-folders for the contents of the toolkit. Notice, that folders for the workspace and run configuration are also shown in Figure 1.
Adding a New Target Platform for an Upgraded Toolkit
-
Open the Eclipse. From the Launch Workspace dialog, choose the location of your workspace. It must be the folder which you created for your workspace in Step 1 of Adding a Red App Target Platform. In this case, the location is
C:\sdk\workspace
. -
On the Eclipse workbench menu bar, choose Window > Preferences (on Windows) or Eclipse > Preferences (on macOS).
-
From the list on the left, expand Plug-in Development, and then select Target Platform. A list of your target platforms appears in the Target Definitions panel on the right. (See Figure 2.)
Figure 2. Active Target Platform on the Preferences WindowEclipse should display Active next to your Red App target platform. In the example, the name of the target platform is RedApp.
-
Click Add.
-
In Adding the Red App Target Platform, complete Step 8 through Step 20.
When you finish adding and verifying the plug-ins, Eclipse will display your new target platform configuration, which should be similar to the following:
-
On Windows (skip this step on macOS) you have to set up an environment architecture.
When your new target platform is added, your screen should be similar to Figure 3.
Figure 3. Upgraded Red App Target Platform in Eclipse Preferences Window
What to Do Next
Continue with Upgrading Your Red App Run Configuration.
Upgrading Your Red App Run Configuration
-
From the workbench menu bar, choose Run > Run Configurations. The Main tab on the Run Configurations wizard is opened.
-
On the left, select the run configuration that you are upgrading, then open the Plug-ins tab. In the example, the name of the run configuration is RedApp. (See Figure 4.)
Figure 4. Upgrading Plug-ins in the Run Configuration -
Select all of the following:
-
Launch with plug-ins selected below only
-
All plug-ins in the Target Platform group on the Plug-ins list
-
Include optional dependencies when computing required plug-ins check box
-
Add new workspace plug-ins to this launch configuration automatically check box
You can also select the plug-ins in the Workspace group that you want to launch in Sabre Red 360.
-
-
To make sure that you selected all necessary dependencies, validate the plug-ins for their dependencies by clicking Validate Plug-ins.
If Eclipse successfully verifies the dependencies, the Validation dialog displays a message that no problems were detected.
If Eclipse finds missing dependencies, the Validation dialog describes the problems it finds.
-
To repair the problems automatically, click Continue.
On the Plug-ins tab on the Run Configurations wizard, click Add Required Plug-ins.
-
Click Apply to apply your changes.
-
After all, close the Preferences window.
You are done upgrading your Red App development environment.
What to Do Next
-
(Optional) Verify that you can launch Sabre Red 360 in development mode from Eclipse IDE.
-
(Optional) Pass proxy settings in your run configuration to launch Sabre Red 360 in development mode.
-
(Required) Upgrading to a New Version of the Development Tools. These tools enable the use of Red App wizards and Red App help.
Upgrading to a New Version of the Development Tools
When you install a new version of the Sabre Red 360 Developer Toolkit, it is typically installed to a new location. For example, assume that the location of the previous version of the Toolkit and development tools is C:\sdk\red-app-sdk-3.0-windows\devtools
. The new location for the new version is C:\sdk\red-app-sdk-3.0-19.2-windows\devtools
.
To install a new version of the Red App development tools, complete the following steps:
-
Add a new location.
-
Follow the steps described in section Installing the Red App Development Tools. In Add Repository window select a new location and provide a new name (eg. Red App Dev Tools 19.2).
-
-
Remove the old location from Eclipse.
-
On the Available Software window, click the Manage button (See Figure 5.)
-
On the Available Software Sites window, uncheck the previous version of the development tools. This is the version that you want to remove.
-
Be sure that the checkbox for a new version of the development tools is checked.
-
Click Apply and Close to confirm. Eclipse removes the pointer to the location, while retaining the files on your local drive.
-

What to Do Next
-
Verify installation of upgraded Dev Tools, Red App wizards and the new version of the Red App help
Target Platform Maintenance Procedures
This section includes the following optional procedures:
Passing Proxy Settings for Sabre Red 360 in Development Mode
The following procedure shows you how to store proxy settings in your run configuration. These settings are the same ones that are in the proxy settings window in Sabre Red 360. Eclipse uses these settings every time you launch Sabre Red 360 from Eclipse IDE in development mode. These settings are not stored or used in CERT or PROD.
-
Open your run configuration in Eclipse IDE.
-
Next, you need to type the arguments with your values in the Program Arguments field on the Arguments tab. (See Figure 6.)
Use the following syntax:
–argument value
A list of arguments that Red Apps supports follows:
proxy.host, proxy.port, proxy.user, proxy.password, proxy.domain
Figure 6. Proxy Settings for Sabre Red 360 on the Arguments Tab
Adding and Removing Plug-ins from a Run Configuration
You can add or remove plug-ins from a run configuration. Plug-ins that you add to the Red App target platform from your workspace are available in Sabre Red 360, and plug-ins that you remove from your workspace are not available.
Caution
|
Because of plug-in dependencies, do not remove plug-ins from the Target Platform group. Removing a plug-in from the Red App target platform may cause your plug-ins either to become inoperable or to malfunction. |
-
From the Workbench menu bar, choose Run > Run Configurations. Eclipse will open the Run Configurations window.
-
From the panel on the left, select the run configuration to which you want to add or remove plug-ins.
-
Click the Plug-ins tab. (See Figure 7.)
Figure 7. Workspace and Target Platform Plug-ins in the Run Configurations Window
The tab lists the plug-ins that are in the workspace and in the target platform.
Next, follow the steps either to add a plug-in or to remove a plug-in.
Adding a Plug-in to the Run Configuration
-
First, you need to select the check box that is adjacent to the plug-in from the Workspace group.
-
Then, click Add Required Plug-ins.
-
When you add new plug-ins, make sure to validate that the dependencies are met. Repeat the steps described in Choosing Plug-ins for Your Run Configuration section.
Removing a Plug-in from the Run Configuration
Caution
|
Because of plug-in dependencies, do not remove plug-ins from the Target Platform group. Removing a plug-in from the Red App target platform may cause your plug-ins either to become inoperable or to malfunction. |
-
In the Workspace group, remove the selection from the check box that is adjacent to the plug-in to be removed.
Omit the steps for validating plug-ins.
-
If the Apply button is available, click Apply.
-
Next, click Run to launch Sabre Red 360.
-
To log in, use your Sabre login credentials.
Tips on Toolbar Icons for Run Configurations
This topic provides tips that are related to run configurations. The behavior of the Run and debug buttons depends on how you defined your launch operation preferences. (For more information about launch operation preferences, consult the Eclipse documentation on Eclipse’s website at www.eclipse.org.).
Run Icon (
)
Click the down arrow next to the Run icon to either launch the most recent application or to launch the selected resource.
Debug Icon (
)
Click the down arrow on the Debug icon to either launch the most recent application in debug mode or to launch the selected resource.
Removing the Red App Target Platform from Eclipse
This procedure removes the Red App target platform from Eclipse and your local drive.
Note
|
Use Eclipse to remove the target platform before you remove any files from your local drive. If you do not remove the target platform from Eclipse first, Eclipse displays errors when you try to access components that used the target platform. |
-
On the Eclipse workbench menu bar, choose Window > Preferences (on Windows) or Eclipse > Preferences (on macOS).
-
Next, expand Plug-in Development, and select Target Platform.
-
On the right, select the target platform that you want to delete, and press the Remove button.
-
Click Apply and Close.
-
On your local drive, delete the targetplatform folder for the version that you removed in Eclipse.
In the example in the preceding figure, to remove the Red App target platform for old version, you would delete the targetplatform
folder in the C:\sdk\red-app-sdk-3.0-windows
path.
Development Tools Maintenance Procedures
This section consists of the following procedures:
Removing the Red App Development Tools from Eclipse
-
Open the Eclipse, then choose Help > About Eclipse IDE (on Windows) or Help > About Eclipse (on macOS).
-
On the About Eclipse SDK dialog, click Installation Details. (See Figure 8.)
Figure 8. Installed Red App Dev Tools on the Eclipse Installation Details WindowOn the Installed Software tab in the Installation Details window, the Name list should display Red App Dev Tools.
-
Select Red App Dev Tools.
-
Click the Uninstall button.
-
On the Uninstall Details window, select the name Red App Dev Tools. (See Figure 9.)
Figure 9. Uninstall Details Window in Eclipse -
Click Finish.
-
When Eclipse is done removing the installed software, the Software Updates dialog prompts you to restart Eclipse. To do it, click Restart Now.
After Eclipse is restarted, Eclipse displays the Workspace launcher dialog.
-
Either choose or confirm the path of your workspace for your target platform.
Verify that the software is no longer installed. Confirm that the Package Explorer and Installation Details do not include the Red App Development Tools.
-
Open Eclipse and choose Help > About Eclipse IDE (on Windows) or Help > About Eclipse (on macOS).
-
On the About Eclipse SDK dialog, click Installation Details. (See Figure 10.)
Figure 10. Removal of Red App Dev Tools from Eclipse SDK Installation Details
The Red App Dev Tools entry should be removed from the Installed Software tab.
Installing the Red App Development Tools after Removal
If you remove the Red App development tools from the Eclipse, you can easily install the tools again.
-
Open Eclipse. Choose Help > Install New Software. (See Figure 11.)
Figure 11. Choosing a Location to Reinstall the Red App Dev Tools -
On the Available Software screen, do not add a local location again. Choose the location from the Work With list.
-
Complete the remaining steps for installation. See Steps 6 – 12 in Installing the Red App Development Tools.
TipAlternatively, you can click Available Software Site on the Install Available Software window. Remove the location that you added previously.
When you are done, verify that Red App Dev Tools software is installed.
-
Choose Help > Install New software.
-
Click the already installed? link.
Eclipse displays the SDK Installation Details window. If you installed the Red App Dev Tools successfully, the tools should be listed on this window.