2012-09-04

Change text mode to binary in CVS

If you accidentally checked in jar file in text mode, you can fix it as below:
1:  $ cvs update -kb path/to/your.jar  
2:  $ cvs commit -fm "Change substitution mode (jar from text to binary)" path/to/your.jar  

credit for this post goes to http://chwang.blogspot.com/2006/06/change-text-mode-to-binary-in-cvs.html

Dump JAR's Manifest File

1:  unzip -p your-jar.jar META-INF/MANIFEST.MF  

credit for this post goes to http://marxsoftware.blogspot.com/2011/04/viewing-jars-manifest-file.html