2.1. Publishing Scripts

In order to be later found by the runtime environment, they need to be placed into a special folder called "config/scripts" as mentioned. Note that this folder must be created on the file system, not in the model resp. Model Browser. The script file can have an arbitrary name but shall have the right file extension to be executed with the corresponding scripting engine. Java Scripts have to be saved into files with extension ".js" while OCL scripts into files with extension ".ocl" for example. Scripts can be organized in subfolders as well. Folders that start with a dot are treated differently: they do not appear at UI level later and are usually used to group scripting libraries or other helper scripts that do not denote an executable script themselves.