Unpacking and Repacking EAR and WAR files
The procedures discussed in this chapter are specific to the Microsoft Windows platform.
To unpack the .ear or .war file:
1. Open the command prompt, and navigate to the folder that contains the EAR or WAR file.
2. Create a folder named "[Temporary EAR location]” or "[Temporary WAR location]”.
3. Go up one level to the folder that contains the EAR or WAR file.
4. Select the EAR or WAR file you want to unpack, right-click the file, select the Open with option,
and select WinZip to unpack the EAR or WAR file to the temporary location "[Temporary EAR
location]” or "[Temporary WAR location]”.
Note: You can choose to configure your computer to consider EAR or WAR files as ZIP files,
by performing the following steps:
1. Go to the Control Panel.
2. Double-click Folder Options.
The Folder Options dialog box is displayed.
3. Click the File Types tab.
4. Navigate to the EAR or WAR extension in the Registered file types list.
5. Click Change.
The Open With dialog box is displayed.
6. Select WinZip in the Programs list.
7. Click OK.
8. Click Apply.
9. Click OK.
To repack the .ear or .war file:
1. Access one folder level above "[Temporary WAR location]”.
2. Select the "[Temporary WAR location]”.
3. Right-click the folder, select WinZip, and choose the Add to Zip option.
4. In the Add to archive field of the Add dialog box, specify the name of the .ear or .war file you
are repacking.
5. Click Add.
There Goes AIIM CIP
2 years ago
Comments (0)
Post a Comment