- Update a file into a JAR file
I want to update the application.properties file in myproject.jar file.
jar -uf myproject.jar application.properties
This command will update application.properties in myproject.jar .
Note that for -u application.properties must already exist in the jar file, and will only be overwritten if it's newer than the one in the jar.
No comments:
Post a Comment