|
-
Aug 24th, 2011, 01:12 AM
#1
Thread Starter
Lively Member
Copying file to .jar directory
How do i copy a file in /mob in a jar file,
Without disturbing the other files
Last edited by M0NKEYRASH; Aug 24th, 2011 at 01:15 AM.
-
Aug 24th, 2011, 01:52 AM
#2
Re: Copying file to .jar directory
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|