InfoCenter Home > 6.6.0.8: Expanding .ear filesThe EARExpander expands Ear files into the format desired by the application server runtime, as described in the application installation instructions. EARExpander can also collapse the expanded format back to a normal Ear (.jar or .zip) format. Invoking the toolThe tool is located in the following directory: product_installation_root/bin/EARExpander.bat To view syntax, open a command line and invoke the tool without arguments. Here is a typical result. The line breaks have been changed for better formatting in this documentation. C:\seaa0122.02\bin>EARExpander.bat IBM WebSphere Application Server, Release 4.0 J2EE J2EE Application Expansion Tool, Version 1.0 Copyright IBM Corp., 1997-2001 Required Argument Missing:ear Usage: java com.ibm.websphere.install.commands.EARExpander -ear -expandDir -operation [expansionFlags] ExpansionFlags indicate whether you want every JAR file expanded, or just the contained WAR files within the EAR file. The default is all. Expanding filesThe following example command expands the file my.ear into the product_installation_root/bin/myEAR directory: EARExpander -ear my.ear -expandDir product_installation_root/bin/myEAR -operation expand Collapsing filesUsing the collapse -operation reverses the format to normal. EARExpander -ear my.ear -expandDir product_installation_root/bin/myEAR -operation collapse Type each of the above commands on a single line, despite their appearance in this documentation. |
| ||
|