Skip entries to a zip that are duplicates.

Summary:
The default java ZipOutputStream complains bitterly if you add more than one entry with
the same name. Avoid that entirely by silently skipping those duplicate entries. Looking
around, this seems to be the behaviour of things like JarJarLinks, which is commonly
used for creating uber-jars.

Test Plan: buck test --all
3 files changed
tree: cea10ed9ff331690a86b7a8ad52966bea324aaaa
  1. .idea/
  2. bin/
  3. config/
  4. docs/
  5. lib/
  6. pmd/
  7. scripts/
  8. src/
  9. test/
  10. testdata/
  11. third-party/
  12. .buckconfig
  13. .classpath
  14. .gitignore
  15. .project
  16. buck.iml
  17. build.xml
  18. DEFS
  19. LICENSE
  20. README.md
README.md

Buck

Buck is an Android build tool. To see what Buck can do for you, check out the documentation at http://facebook.github.io/buck/.

Installation

To build Buck, run the following:

git clone git@github.com:facebook/buck.git
cd buck
ant
./bin/buck --help

License

Apache License 2.0