Hack ProjectWorkspace on Windows.

Summary:
Some unit tests rely on `junit.jar` which is a symbolic link in the respository.
Symlinks are not supported directly on Windows, so that they are checked out
as normal files containing a one-line path, which are hard to diffrentiate from real normal files.

Here is a hack: Check if copied file is "like" a symbolic link. If the file is small and contains
a one-line path, then we think it is a symbolic link and copy the target.

Test Plan: Unit tests.
2 files changed
tree: 95ead4f70e4cdeadbc5d6655f0c781da2b8ee177
  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