| 1 | '''tool''' [[br]] |
| 2 | The ''tool'' element provides the Rappture GUI with information about the application being executed. |
| 3 | The element can contain the following tags: <about></about> and <command></command>. [[br]] |
| 4 | The ''about'' tag holds a short description introducing the application. [[br]] |
| 5 | The ''command'' tag holds the command that should be used to start the application. There are a few special directives you can give the Rappture GUI within the ''command'' tag. [[br]] |
| 6 | |
| 7 | The first is the '''@tool''' directive. @tool refers to the path of the directory containing the tool.xml file. If the application (named ''executable'' in the example below) is in the same directory containing the supplied tool.xml file, ''@tool/executable'' can be used as the path of the application to be run. [[br]] |
| 8 | |
| 9 | The second directive is '''@driver'''. @driver refers to the name of the dynamic driver.xml file created by the Rappture GUI for the application to the read current value. |
| 10 | |
| 11 | {{{ |
| 12 | <tool> |
| 13 | <about> Information about the application </about> |
| 14 | <command> @tool/executable @driver </command> |
| 15 | </tool> |
| 16 | }}} |