Skip to main content

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 Getting Started with Red Apps.

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 main menu, Choose File > Export, and then select Red App Bundle.

    redappbundlewizard 1
  2. 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
  3. On the Destination tab, specify the destination directory for the bundle file.

  4. On the JAR Signing tab, provide the required information:

    keystore location, keypass, alias, and password.

    redappbundlewizard 3
  5. Click Next.

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

    redappbundlewizard scriptsmainpluginb
  7. Click Next.

  8. 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
  9. Click Finish.

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