I'm seeking a .jar&SharpZipLib expert

D

daniele.mucciola

Hi all,
Using c# I have to uncompress a .jar file, modify an inner XML file
and then build again the .jar file.
I did all with SharpZipLib but the built .jar is ruined and cannot be
executed.
Same c# expert can give me a solution?
Thanks all.
 
G

Guest

It sounds like you are trying to do this on a machine with JRE installed on
it. Why not just use "jar -xf myjar.jar" to extract the files, then edit the
xml file, and repack it with "jar -cf myjar.jar <your filelist>"?
 
D

daniele.mucciola

It sounds like you are trying to do this on a machine with JRE installed on
it. Why not just use "jar -xf myjar.jar" to extract the files, then edit the
xml file, and repack it with "jar -cf myjar.jar <your filelist>"?

No, I haven't JRE installed and my system don't recognize a "jar"
command.
I tried to using SharpZipLib but for me the compact method don't work
becose
with winZip 9 it's all right.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top