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 />

Example<br />

iastool -newconfig -hub myhub -cfg SimpleProcessConfig -template native.xml<br />

-property c:\simple.properties<br />

patch<br />

Use this tool to apply one or more patches to a JAR file and produce a new JAR file<br />

with the applied patches.<br />

Syntax<br />

-patch -src -patches -target <br />

Default Output<br />

The default output displays the patches that were applied.<br />

Options<br />

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

Option<br />

-src <br />

-patches <br />

-target <br />

Description<br />

Specifies the JAR file to which you want to apply one or more<br />

patches. The full or relative path to the JAR file must be<br />

specified. There is no default.<br />

Specifies one or more JAR files that contain the patches you<br />

want to apply. To specify more than one file, enter a comma (,)<br />

between each file name (no spaces). The full or relative path<br />

to the files must be specified. There is no default.<br />

Specifies the name of the new JAR file to be created. The full<br />

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

default.<br />

Example<br />

The following example applies the patches contained in the files mypatch1.jar and<br />

mypatch2.jar to the file myold.jar which are all located in the current directory and<br />

creates a new file called mynew.jar in the same location:<br />

iastool -patch -src myold.jar -patches mypatch1.jar,mypatch2.jar<br />

-target mynew.jar<br />

310 BES Developer’s Guide

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

Saved successfully!

Ooh no, something went wrong!