You are here: start » autocams » embedded_script

Back

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.)

autocams/embedded_script.txt · Last modified: 2010/12/17 14:30 by attila
Kleine Websites, die ein Wiki als CMS verwenden.de