[Spacewalk-list] Unpacking and repacking rhn.jar

Mullis, Josh (CCI-Atlanta) Josh.Mullis at cox.com
Mon May 21 15:45:36 UTC 2012


Awesome.
Thanks Miroslav!

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Miroslav Suchý
Sent: Monday, May 21, 2012 4:28 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Unpacking and repacking rhn.jar

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

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list