rocksdb/java
Daniel Black 3eab41d7c4 java dependencies test -s -> use test -d
Summary:
To correct a build process where the JAVA_TEST_LIBDIR is a symlink to a cache directory.

Test -s (size 0) on symlinks returns true, resulting in a mkdir over the top of the symlink resulting in failure.

As a solution -d checks if it is a directory (or the symlink refers to a directory), which works in the case of real directories and symlinks to directories.

Trivial I know but it was really easy for me to use a symlink here to prevent frequent downloads in a CI environment.

Thanks for your consideration.
Closes https://github.com/facebook/rocksdb/pull/1917

Differential Revision: D4612263

Pulled By: siying

fbshipit-source-id: 4d458f8e1760068cdd6b5eae4bce6e12c400df41
2017-04-12 15:13:41 -07:00
..
benchmark/src/main/java/org/rocksdb/benchmark Added missing options to RocksJava 2017-03-30 12:09:21 -07:00
crossbuild gflags has moved to GitHub 2017-03-31 10:09:21 -07:00
rocksjni Move various string utility functions into string_util 2017-04-06 14:54:12 -07:00
samples/src/main/java Fixed various memory leaks and Java 8 JNI Compatibility 2017-02-27 16:39:12 -08:00
src Added missing options to RocksJava 2017-03-30 12:09:21 -07:00
CMakeLists.txt Add missing RateLimiter class to the Windows build (#1382) 2016-10-12 15:00:37 -07:00
HISTORY-JAVA.md Update JAVA-HISTORY.md for v3.13 2015-08-04 18:12:58 -07:00
jdb_bench.sh Moved Java Benchmark main classes into benchmark/src/main/java 2015-02-01 20:05:10 +00:00
Makefile java dependencies test -s -> use test -d 2017-04-12 15:13:41 -07:00
RELEASE.md Fixed packaging of java crossbuild jar by forcing all compiled binaries to be output to the java/target directory. The uber crossbuild jar is then assembled within the java/target directory. 2015-10-12 20:29:58 -04:00
rocksjni.pom Minor fixes around Windows 64 Java Artifacts (#1366) 2016-10-03 11:58:08 -07:00