Re: how to make java archives through java code

Andrey Ozerov <[email protected]>
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
Hi Prasad,

See package: java.util.jar.*

Look at also on:

http://java.sun.com/developer/technicalArticles/Programming/compression/
http://java.sun.com/developer/JDCTechTips/2004/tt0727.html
http://forum.java.sun.com/thread.jspa?threadID=567489&tstart=195

I hope that will help you!



 >         I want to copy directory to server from client through java
 > rmi so I will make archive(single file) of that directory and copy
 > that file to server.
 > But I am cofused about making archive of directory. Shall i use jar or
 > war or any other archive to make single file.
 >
 > If I used jar then how should i code it in java program.
 >
 > please help me anyone have code to make jar..
 >
 > thanks in advance



---

                    Andrey Ozerov

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.