Not sure if this is the right forum but its JAVA related so I'm posting it here

I'm having some trouble creating war files

I used this:

Code:
jar cvf app.war *
And that worked fine until I tried to deploy it on the server. Somehow the WEB-INF directory name got changed to lowercase (web-inf instead of WEB-INF) and because of that the app wont work. However the generated META-INF dir is uppercase.

EDIT: NVM wasn't a problem with JAVA or Linux it was Windows