Colleagues, tell me how best to archive the directory in jar, without compression?
|
1 answer
You can use the command line and jar utility. The parameter 0 (zero) indicates not to compress the files by writing them to the archive. For example, the following command
jar cfv0 test.jar test.txt will create an archive without compression, and the command
jar cfv1 test.jar test.txt creates archive with compression.
|