The puckit script is not generally used directly by system operators. Rather, it is invoked by mkpuck (which is invoked by one of the Makefiles containing PUCK build targets) to build a JAR (Java Archive) file containing a SIAM instrument service and its associated metadata. The instrument service JAR contains:
The resulting instrument service JAR may stored/loaded from PUCK memory (if its associated instrument is PUCK enabled), or from the host platform (SIAM node).
| Option | Description | Values |
|---|---|---|
| serviceClassname | Fully qualified name of the instrument service class | org.mbari.siam.devices.seabird.SBE37 |
| servicePropertiesFile | Path to the Java Properties file containing the instrument service configuration parameters (properties) | service.properties |
| serviceXMLFile | Path to an XML file containing metadata about the instrument service | service.xml |
| outputJarfile | Name of the JAR file to create | SBE37-ID1234.jar |
Example output:
none
The following environment variables must be set:
| Variable | Description | Example |
|---|---|---|
| JAVA_HOME | location of Java installation | /j9, /opt/java/jdk1.3.1, etc. |
| JAVA | Path to JVM command | For MMC $JAVA_HOME/bin/j9 For Sun JVM (e.g. linux, win32, mac OS) $JAVA_HOME/bin/java
|
| SIAM_HOME | top of the SIAM directory tree | - |
| SIAM_CLASSPATH | Path including all SIAM and supporting classes | For MMC $JAVA_HOME/lib/jclMax/classes.zip:$JAVA_HOME/lib/prsnlmot.jar:$JAVA_HOME/lib/RXTXcomm.jar:$SIAM_HOME/classes For linux/win32 $SIAM_HOME/classes |