[Spacewalk-list] Unpacking and repacking rhn.jar

Miroslav Suchý msuchy at redhat.com
Mon May 21 08:27:32 UTC 2012


On 05/19/2012 07:17 PM, Mullis, Josh (CCI-Atlanta) wrote:
> 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.
>

https://fedorahosted.org/spacewalk/wiki/JavaEditOnPlace


-- 
Miroslav Suchy
Red Hat Satellite Engineering




More information about the Spacewalk-list mailing list