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.

Syntax and usage for iastool<br />

has the Ant equivalent:<br />

<br />

Note The files in the jars attribute must be separated by semi-colons (;) or colons (:) -<br />

spaces and commas are not valid separators.<br />

Ant provides a convenient task to include multiple files:<br />

<br />

<br />

<br />

<br />

The patternset feature of Ant can also be useful. The following alteration now includes<br />

all of the jar files contained in the build directory and all of its sub-directories:<br />

<br />

<br />

<br />

Class path attributes can include multiple paths separated by semicolons:<br />

<br />

Syntax and usage for iastool<br />

or use the element:<br />

<br />

<br />

<br />

<br />

<br />

<br />

The iastool Ant tasks can use two different styles:<br />

1 <br />

2 <br />

For example, the command line:<br />

iastool -verify -src cart_beans_client.jar<br />

translates into the Ant task:<br />

<br />

or you can use the older Ant style for backward compatible Ant tasks:<br />

<br />

The following table shows the Ant task styles for each of the iastool options.<br />

Table 28.1<br />

iastool Ant task style 1<br />

<br />

<br />

<br />

Ant task styles for iastool options<br />

iastool Ant task style<br />

2<br />

Equivalent<br />

command line<br />

iastool -<br />

compilejsp<br />

iastool -<br />

compress<br />

Function<br />

Precompiles<br />

JSPs.<br />

Compresses a<br />

JAR file.<br />

iastool -deploy Deploys a<br />

J2EE module.<br />

Fileset<br />

attribute<br />

jars<br />

Chapter 28: BES Ant tasks and running BES examples 285

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

Saved successfully!

Ooh no, something went wrong!