here is the structure of my war file.
MyApp.war
WEB-INF
classes/com/info/App.java
classes/application.properties
lib/
META-INF
test
just before deployment of this war to tomcat, Ops team will need to update the application.properties file.
I prefer not to explode. but just to update the war and leave for tomcat to explode during start up
I tried this
jar uvf MyApp.war /var/data/prod/application.properties
After I executed this command, I see a new file being added at root level of MyApp.war. but I want WEB-INF/classes/application.properties
to be replaced this one. How can I do it.