During the extraction process, all the files needed to create the new WAR file were created. These files will need to be repackaged into a new WAR file.
To repackage the files into a new WAR file:
- Open the folder that you specified earlier in the instructions. This is the folder that was to be empty before you started the extraction.
- Within this folder, there is a subfolder called web, go to this folder.
- Windows: You will need to double click on the file CreateWar.bat A command prompt window will open and the repacking process will begin. When complete, the command prompt window will close.
- Linux: In a terminal window, from the web directory mentioned above, you can look at the file CreateWar.bat to see further what needs to occur. Basically, what needs to happen is
- $ java cvf <name you chose earlier>.war .
The new war file is now in the web directory.