user manual

356 BES Developers Guide
Using the iastool command-line tools
Syntax
-merge -jars <jar1,jar2,...> -target <new_jar> -type <valid_type>
Default Output
The default output returns nothing to standard output (stdout).
Options
The following table describes the options available when using the merge tool.
Example
The following example merges the EJB-JAR files proj1.jar, proj2.jar, and
proj3.jar into a new version 2.0 EJB-JAR file named combined.jar:
Option Description
-jars <jar1,jar2,..> Specifies the JAR files to merge, comma
separated and no spaces. The full or
relative path to the JAR files must be
specified. There is no default.
-target <new_jar> Specifies the name of the new JAR file to
be created containing the merged
contents of the specified list of JAR files.
The full or relative path to the new JAR
file must be specified. There is no
default.
-type valid_type Specifies the type of the new archive file
using one of the following supported
formats:
ejb2.0 - Version 2.0 Enterprise Java
Bean
ejb1.1 - Version 1.1 Enterprise Java
Bean
ear1.3 - Version 1.3 Enterprise
Application Resource
ear1.2 - Version 1.2 Enterprise
Application Resource
lib - Library file
war2.3 - Version 2.3 Web Application
Archive
war2.2 - Version 2.2 Web Application
Archive
rar1.0 - Version 1.0 Resource
Adapter Archive
client1.2 - Version 1.2 Client JAR
client1.3 - Version 1.3 Client JAR
jndi1.2 - Version 1.2 Java Naming
and Directory Interface