Embedded Script
It is now possible to embed a default script in the JAR file. To do this, put the script in the script folder as default.xml, and include both the script folder and default.xml when creating the JAR file.
To create the JAR file (that can be normally executed by just double clicking on it) using Eclipse, right-click on either the “Create JAR File.jardesc” or “Create JAR File with script.jardesc” (depending if you want to create a JAR without or with the embedded script), then select “Open JAR packager” as shown in Figure. In the following dialog, check that the desired files are selected (in particular, check that default.xml is included if you want an embedded script, see Figure.)