[OT] how to make a folder be a jar file
Richmond
richmondmathewson at gmail.com
Fri May 29 16:20:30 EDT 2015
On 29/05/15 23:13, Colin Holgate wrote:
> I have a need to edit a single character in a class file inside a jar file. My steps are:
>
> rename the file to .zip
> expand it
> use a hex editor to make the single character change
> compress the folder
> rename back to jar
>
> The jar file I get is seen to be bad. If I leave out the class editing, and just rename, decompress, compress, rename, that’s enough for the jar to not work.
>
> Anyone have some insights as to how to expand and archive a jar file, without breaking it?
>
I know NOTHING about this; but a few minutes with Ask.com did yield this:
http://blog.opensecurityresearch.com/2013/04/creating-extracting-and-signing-jars.html
and this:
https://confluence.atlassian.com/display/CONFKB/How+to+edit+files+in+Confluence+JAR+files
The second one seems a bit odd; the first one makes sense to me in terms
of what you have written.
Richmond.
More information about the use-livecode
mailing list