EARExpander コマンドを使用して、エンタープライズ・アーカイブ (EAR) ファイルを ディレクトリーに展開し、その EAR ファイルのアプリケーションを実行します。
アプリケーション・ファイルを収容しているディレクトリーを縮小して、単一の EAR ファイルにすることができます。 引数を指定しないで EARExpander と入力すると、このコマンドのオプションの詳細を確認できます。 このコマンドを実行する状況について詳しくは、コマンド・ツールの使用の項を参照してください。
EarExpander -ear earName -operationDir dirName -operation <expand | collapse> [-expansionFlags <all|war>]
EARExpander コマンドで使用可能なオプションは、以下のとおりです。
以下は、正しい構文の例です。
EARExpander -ear C:¥WebSphere¥AppServer¥installableApps¥DefaultApplication.ear -operationDir C:¥MyApps -operation expand -expansionFlags war EARExpander -ear C:¥backup¥DefaultApplication.ear -operationDir C:¥MyAppsDefaultApplication.ear -operation collapse