This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Ok so it doesn't look like the java.util.zip.* classes allow for appending new entries into an existing zip archive through their APIs. To get around this I do the following: 1) create a new Zip file 2) read the contents of the old Zip file and write them out to the new Zip, appending the new entries on the end of the new zip file 3) replace the old Zip file with the new one
Has anyone come up with a better way of achieving this? Thanks.