user manual

342 BES Developers Guide
Using the iastool command-line tools
Example
To precompile the JSP pages contained in a WAR file called proj1.war located
in the current directory into a WAR file called proj1compiled.war in the same
location:
iastool -compilejsp -src proj1.war -target proj1compiled.war
To precompile the JSP pages contained in an EAR file called proj1.ear located
in the directory c:\myprojects\ into an EAR file called proj1compiled.ear in the
same location and generate the maximum amount of diagnostic messages:
iastool -compilejsp -src c:\myprojects\proj1.ear -target
c:\myprojects\proj1compiled.ear -loglevel 4
compress
Use this tool to compress a JAR file.
Syntax
-compress -src <srcjar> -target <targetjar>
Default Output
By default, compress reports if the operation was successful or not.
-package <package_root> Specifies the base package name for the
precompiled JSP servlet classes. The
default is com.bes.compiledjsp.
-loglevel <0-4> Specifies the amount of output diagnostic
messages to be generated. A value
greater than 2 will also leave the
temporary servlet Java files for further
inspection. The default is 2.
-classpath <classpath> Specifies any additional libraries that
may be required for compiling the JSP
pages. There is no default.
Option Description