12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using the iastool command-line tools<br />

Options<br />

The following table describes the options available when using the merge tool.<br />

Option<br />

-jars <br />

-target <br />

-type valid_type<br />

Description<br />

Specifies the JAR files to merge, comma separated and no spaces.<br />

The full or relative path to the JAR files must be specified. There is<br />

no default.<br />

Specifies the name of the new JAR file to be created containing the<br />

merged contents of the specified list of JAR files. The full or relative<br />

path to the new JAR file must be specified. There is no default.<br />

Specifies the type of the new archive file using one of the following<br />

supported formats:<br />

■ ejb2.0 - Version 2.0 Enterprise Java Bean<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

■<br />

ejb1.1 - Version 1.1 Enterprise Java Bean<br />

ear1.3 - Version 1.3 Enterprise Application Resource<br />

ear1.2 - Version 1.2 Enterprise Application Resource<br />

lib - Library file<br />

war2.3 - Version 2.3 Web Application Archive<br />

war2.2 - Version 2.2 Web Application Archive<br />

rar1.0 - Version 1.0 Resource Adapter Archive<br />

client1.2 - Version 1.2 Client JAR<br />

client1.3 - Version 1.3 Client JAR<br />

jndi1.2 - Version 1.2 Java Naming and Directory Interface<br />

Example<br />

The following example merges the EJB-JAR files proj1.jar, proj2.jar, and proj3.jar<br />

into a new version 2.0 EJB-JAR file named combined.jar:<br />

iastool -merge -jars proj1.jar,proj2.jar,proj2.jar<br />

-target combined.jar -type ejb2.0<br />

migrate<br />

Use this tool to convert a JAR or XML file from J2EE version 1.2 to J2EE version 1.3.<br />

Note<br />

The migrate command only converts the deployment descriptor for an EJB; as such,<br />

code changes may also be required to implement the conversion properly in your<br />

deployment.<br />

If the conversion fails, an error is displayed.<br />

Syntax<br />

-migrate -src -target <br />

Default Output<br />

The default returns nothing to standard output (stdout).<br />

Options<br />

The following table describes the options available when using the migrate tool.<br />

Option<br />

-src <br />

-target <br />

Description<br />

Specifies the J2EE version 1.2 file to convert. The full or relative path<br />

to the JAR file (or the directory of an expanded JAR) must be<br />

specified. There is no default.<br />

Specifies the name of the J2EE version 1.3 file to be created. The full<br />

or relative path to the JAR file must be specified. There is no default.<br />

308 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!