I have built the java enterprise project called dcm4chee from its source code. I have used source-code from sourceforge.net.
But after building the project i got zip file as output. I have to create war and ear file from that zip file.
I have searched on google. Just changing .zip extension to .war is not working.
So please give me the solution for this.
For creating a war file, you can go to the dir that contains WEB-INF dir. WEB-INF dir should have classes, lib and web.xml file. Run the below command from parent dir of WEB-INF dir:
jar cvf myapp.war .