[Spacewalk-list] Unpacking and repacking rhn.jar

Mullis, Josh (CCI-Atlanta) Josh.Mullis at cox.com
Sat May 19 17:17:39 UTC 2012


For applying patches to files inside "rhn.jar", are these the correct commands and switches?
Basically just the "unzip", "javac", and "jar" command syntax I am concerned about.


1.       unzip rhn.jar

2.       get new source .java file from git

3.       javac  <new_java_file>

4.       move compiled class file into proper directory

5.       jar -cvf /tmp/rhn.jar <path_to_exracted_jar>



This method worked for me, but just wanted to verify.
Thanks
-Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120519/2ec31da9/attachment.htm>


More information about the Spacewalk-list mailing list