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
andbundle.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
|
|
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:
-
Review preparing to Create and Upload a Red App Bundle. This includes creating a redapp.xml file.
-
If your Red App is a Sabre Scribe scripts plug-in, review the information in the Sabre Scribe topics and ensure that your plug-in meets all Sabre Scribe requirements.
-
Add your digital certificate to your local key store. If you do not have a key store, create it.
You will use a key store in place of your digital certificate. When you run this wizard, the key store is requested. The key store contains the digital certificate that is used to sign the JAR files. The wizard automatically exports this same certificate to your Red App package.
For more information, visit the following: http://docs.oracle.com/javase/8/docs/technotes/tools/windows/keytool.html
-
From the Eclipse workbench menu bar, choose File > Export.
-
In the Export dialog, expand Red App Development, then choose Red App Bundle. Finally, click Next.
-
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.
-
On the Destination tab, specify the destination directory for the bundle file.
-
On the JAR Signing tab, provide the required information.
-
Signing jar with a keystore stored in file, requires filling the fields below:
-
Keystore location
-
Keypass
-
Alias
-
Storepass
-
-
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
-
-
-
Click Next.
-
Select the main Red App plug-in. This should be the Sabre Scribe scripts plug-in project.
-
Click Next.
-
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. -
Click Finish.
-
After your bundle is created, verify that your bundle meets all bundle requirements.