Breadcrumb
- Sabre Red 360 Software Development Kit Help
- Desktop Red Apps
- Development Languages and Technologies
- Sabre Scribe Scripts
- Development Workflow for Sabre Scribe Scripts
Development Workflow for Sabre Scribe Scripts
-
Create a new plug-in project without an Activator class and without UI dependencies.
-
Create a directory structure for Sabre Scribe scripts according to the types of scripts you have. If applicable, create sub-directories for your visible and hidden scripts. Copy the scripts from your local drive and paste them directly into the folders in Eclipse.
-
Add the folders to the binary build.
-
Add the com.sabre.edge.app.scribe Sabre Red 360 plug-in dependency to your project.
-
Add the required com.sabre.edge.app.scribe.scriptsprovider extension point, and then configure the path to your visible scripts. If you have hidden scripts, configure the path.
-
If you have files in your plug-in that you want your Sabre Scribe scripts to access, add the com.sabre.edge.redapp.pluginresources extension point to plugin.xml, plus the files. Include a definition to the path where the files are located on your plug-in project.
-
If you have newer versions of files in your Sabre Scribe scripts plug-in, update the files in the com.sabre.edge.redapp.pluginresources extension point and set the override attribute to true.
-
If you are using active listening for commands, responses, or both, register the commands and responses in redapp.xml.
-
Include all files that the scripts access in the same wrapper plug-in. This also includes both visible and hidden scripts.