Skip Navigation

Validating Your Generated Red App Bundle

Before you begin, create the Red App bundle ZIP file. We recommend using the Red App Bundle wizard  . This wizard creates a proper bundle and performs basic validation as well.

After you export your Red App as a bundle we recommend testing the bundle yourself before you submit it to Sabre for certification. You can test your bundle by adding the bundle to your target platform and a duplicate run configuration in your development environment, and then launching your plug-in in Sabre Red 360.

  1. Your exported bundle is a ZIP file containing a bundle.properties file, a bundle.crt file, and a plugins folder which is of interest here. Extract the content of the ZIP file to your preferred location.

  2. Open Eclipse, and then choose Window > Preferences.

  3. Choose Plug-in Development > Target Platform.

  4. Select your Red App target platform, and then click Edit.

  5. Choose Add, and then select Directory.

  6. For location, navigate to the location where you extracted the bundle ZIP file and select the plugins folder.

  7. Click Finish.

You have now added the plug-in (your Red App) to the target platform which is currently used in your development environment. However, to run the Sabre Red 360 platform with the plug-in, you have to either edit your current run configuration or preferably add a new one and launch it.

  1. In Eclipse open Run > Run Configurations.

image202
  1. From the panel on the left, right-click your Red App Run Configuration , and then choose Duplicate . Eclipse duplicates this configuration, which the Main tab displays.

image203
  1. You may want to change the name of this configuration to something meaningful, for example [YourRedAppName]TestConfiguration.

  2. Click the Plug-ins tab and uncheck Workspace group. This ensures that none of your open plug-in projects are added to this new run configuration.

  3. In Target Platform group, find the Red App plug-in (or plug-ins) that you just added to your target platform, and select it.

  4. You may want to use the Validate Plug-ins button to ensure all the required dependencies are included in the configuration.

  5. If there are no problems detected, you should be able to run this configuration by choosing the Run button. The configuration is saved for you so that you can run this configuration from the quick-launch menu by choosing its name.

  6. After you log in to Sabre Red 360 in Development mode, you should be able to test your plug-in. If your Red App is loaded and works as expected, this proves the bundle is a proper deployable unit. Neither Certification Engineers nor future users should have any installation problems. If Red App is not loaded correctly, you may consider reviewing the JAR contents of the generated deployable plug-in defined by the build.properties of your Red App Plug-in Project.