How do i copy a file in /mob in a jar file,
Without disturbing the other files
Printable View
How do i copy a file in /mob in a jar file,
Without disturbing the other files
JAR files use ZIP compression, so any component that supports ZIP compression will do the job, e.g. DotNetZip or SharpZipLib. It took me all of 30 seconds on Google to find an example.
http://www.google.com.au/search?q=.n...ient=firefox-a
http://www.dreamincode.net/forums/to...to-a-jar-file/
http://www.codeproject.com/KB/files/...g_jars_VB.aspx
That deals with opening an archive only but you can quite easily find examples of adding files to an archive, once you know that they are basically ZIP files and have chosen your ZIP component. If I can find that information with no prior knowledge on the subject, so can you.