Name

catJar

Synopsis

catJar jarFile [x]

Description

The catJar utility displays the contents of the specified PUCK JAR file, including the JAR manifest, list of Java classes, service.properties and (optionally) service.xml

Options

Option Description Values
jarFile Path to the JAR file -
x If the x option is specified, also display the contents of service.xml -

Example output:

catJar ports/DummyInstrument-1151.jar x
-------------------manifest-------------------
Manifest-Version: 1.0
Port-Service-Class: org.mbari.siam.devices.dummy.DummyInstrument
Created-By: 1.5.0_24 (Apple Inc.)


--------------service.properties--------------
isiID = 1151
serviceName = Dummy
sampleSchedule = 30
registryName = Dummy
UUID = 00000000-0000-0000-0000-000000000000

------------------service.xml-----------------
<!--
[XML content here...]
-->
---------------jar file entries---------------
META-INF/
META-INF/MANIFEST.MF
org/mbari/siam/devices/dummy/
org/mbari/siam/devices/dummy/DummyInstrument$Attributes.class
org/mbari/siam/devices/dummy/DummyInstrument.class
org/mbari/siam/devices/dummy/DummyInstrument_Stub.class
org/mbari/siam/devices/dummy/DummySummarizer$Attributes.class
org/mbari/siam/devices/dummy/DummySummarizer$PacketParser.class
org/mbari/siam/devices/dummy/DummySummarizer.class
org/mbari/siam/devices/dummy/DummySummarizer_Stub.class
org/mbari/siam/devices/dummy/VarDummyInstrument$VarDummyAttributes.class
org/mbari/siam/devices/dummy/VarDummyInstrument.class
org/mbari/siam/devices/dummy/VarDummyInstrument_Stub.class
service.properties
service.xml
		

Environment

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

See Also