Compress and Decompress Java JAR File with Apache Compress

You may also like...

Subscribe
Notify of
guest
1 Comment
Oldest
Newest
Inline Feedbacks
View all comments
Elliot Hills
Elliot Hills
February 11, 2019 09:48

I tried it and found that there is extra ‘./’ in the root directory after compression, so I added ‘file.getParentFile().getName().equals(“rootDirName”)’ in method addToArchiveCompression

1
0
Would love your thoughts, please comment.x
()
x