Reputation: 15673
I know you can take a WAR file or EAR and unzip it using 7Zip or other archiving utilities. But does this process work in reverse? Can 7Zip create a valid WAR artifact using it's GUI manager? EAR?
Upvotes: 2
Views: 15764
Reputation: 114817
A war
file is a jar
with a special purpose and wikipedia tells us:
They can also use zip tools to do so; however, the order of entries in the zip file headers is important when compressing, as the manifest often needs to be first.
So to my understanding, you can use 7zip from a technical perspective but you may have to make sure, that you add the manifest file(s) first.
Upvotes: 3