Question

I have extracted existing WAR file contents and modified few images. Now I have to re-create it to WAR file again using the extracted code from original war file.

I am working on linux.

Any idea how can we re-create war file.

Thanks

--Sam

Was it helpful?

Solution

You can use the java jar command line utility to create the war file again:

jar -cvf yourwar.war updatedContentsdir

Learn more here:

http://docs.oracle.com/javase/tutorial/deployment/jar/build.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top