I want to unpack a .jar file, add files to it, and finally repack it again.
I'm not familiar with .jar archive handling
Could you give some help as to how to do this?
I'm want to do this in c#
I want to unpack a .jar file, add files to it, and finally repack it again.
I'm not familiar with .jar archive handling
Could you give some help as to how to do this?
I'm want to do this in c#
If you know how to run commands in c# then you can use the following jar commands
to package a jar
jar -cf yourjarname.jar contentsdir
to unpackage a jar
jar -xf yourjarname.jar
To understand how to run commands using c#, this post should help you:
If you don't want to execute native commands, this could be an interesting read: Opening Jars With C#