Showing posts with label JAR. Show all posts
Showing posts with label JAR. Show all posts

Sunday, July 6, 2014

Unix Commands : Tricks and Tips


  1. 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.

Password Protected Solr Admin Page

As we all know Solr Admin Page is not password protected and anyone can get into Solr Admin Page. However this article will ...