spl-app-info
The spl-app-info command reports information about a application bundle file.
Usage
spl-app-info [--build-id]
[--build-date] [-h, --help] [--toolkits]
[--files] [--unbundle <dir>]
[--xml <outFile>] <sabFile>
Authority
You do not need any authority to run this command.
Description
You can use this command to retrieve information such as the build date, build identifier, list of files, or list of toolkits in a application bundle file.
You can run the command with the --unbundle option to unbundle the application bundle file. You might use this option, for example, if you wanted to debug the stream application.
Options and arguments
- --build-date
- Reports the date that the application bundle file was built. The date is output in a format that is appropriate for your locale.
- --build-id
- Reports the build identifier for the application bundle file.
- --files
- Reports a list of all of the files in the application bundle file.
- sabFile
- Specifies the application bundle file.
- --toolkits
- Reports a list of toolkits that are used in the application bundle file, and the version of each toolkit.
- --unbundle path
- Extracts the contents of the application bundle file into the specified directory, which can be an absolute or relative path.
- --xml filename
- Reports all of the information in an XML file, which is machine readable.
Examples
The
following command lists the files in one of the application bundle files for
the Commodity Purchasing sample application:
spl-app-info --files sample.CommodityPurchasing.AutomatedBuyer.sab
Toolkit: spl Version: 1.2.0
opt/icons/jcp16.gif
opt/icons/notify16.gif
opt/icons/jcp32.gif
opt/icons/notify32.gif
lib/commons-math-2.2.jar
lib/JSON4J.jar
lib/log4j-1.2.17.jar
lib/com.ibm.streams.operator.jar
lib/apache-log4j-extras-1.2.17.jar
impl/bin/JavaOp_vmpath.sh
impl/lib/libstreams-stdtk-javaop.so.0
impl/lib/com.ibm.streams.control.internal.jar
impl/lib/com.ibm.streams.operator.internal.javaop.jar
impl/lib/libstreams-stdtk-runtime.so.0
toolkit.xml
Toolkit: CommodityPurchasing Version: 1.0.0
toolkit.xml
To unbundle the application bundle file,
run the following command:
spl-app-info --unbundle /home/user1/temp sample.CommodityPurchasing.AutomatedBuyer.sab