Skip Navigation

Automatically Exporting a Sabre Scribe Project as a Bundle

The Red App Bundle wizard creates a Red App bundle executable JAR file automatically. Additionally, this wizard does the following:

  • Creates the bundle.properties and bundle.crt files

  • Signs all JARs in your bundle with your digital certificate

  • Generates the bundle ZIP file as a ZIP archive

  • Performs basic validation of a Red App to catch common errors before you submit your Red App bundle to Sabre.For more information, see the Red App Bundle Wizard description.

Note
  • When you run this wizard, the wizard displays the Scribe Scripts Security page, only if you select a plug-in project that contributes to com.sabre.edge.app.scribe.scriptsprovider , with Sabre Scribe scripts in your specified directories.

  • Only the selected scripts are secured. The remaining scripts are not touched.

  • Your scripts are fully secured against unauthorized use outside your Red App.

  • The wizard does not modify the original files. The Sabre Scribe scripts in your project remain unsecured.

  • To secure your scripts correctly, your plug-in must contain redapp.xml with your correct Red App ID.

To use Red App wizards, you must install the Red App development tools. For installation procedures, see How Do I Start?.

Important
In case of any issues with exporting your bundle it’s recommended for you to check if Eclipse is using JDK, not JRE.

Before you begin:

  1. From the Eclipse workbench menu bar, choose File > Export.

  2. In the Export dialog, expand Red App Development, then choose Red App Bundle. Finally, click Next.

    redappbundlewizard 1
  3. On the Red App Bundle screen, select a project that has your Sabre Scribe scripts. If your bundle includes dependencies, select all dependent plug-in projects.

    redappbundlewizard selectscriptsb
  4. On the Destination tab, specify the destination directory for the bundle file.

  5. On the JAR Signing tab, provide the required information.

    redappbundlewizard 3
    • Signing jar with a keystore stored in file, requires filling the fields below:

      • Keystore location

      • Keypass

      • Alias

      • Storepass

        redappbundlewizard 3.1
    • Signing jar with a certificate installed on a hardware token, requires filling the fields below:

      • Keystore location (has to be set to NONE to unlock disabled input fields)

      • Alias

      • Storepass

      • Storetype

      • Provider Class

      • Provider Arg

        redappbundlewizard 3.2
  6. Click Next.

  7. Select the main Red App plug-in. This should be the Sabre Scribe scripts plug-in project.

    redappbundlewizard scriptsmainpluginb
  8. Click Next.

  9. Select the Sabre Scribe scripts that you want to secure against unauthorized use.

    In the following figure, the script in the hidden folder will be secured.

    redappbundlewizard securescripts
  10. Click Finish.

  11. After your bundle is created, verify that your bundle meets all bundle requirements.