[java] Copying static resources should create target directory
@@ -63,6 +63,7 @@ private static void copy(String buildTarget, String copyTo) {
Path source = new BuckBuild().of(buildTarget).go();
+ Files.createDirectories(dest.getParent());
Files.copy(source, dest);
} catch (IOException e) {
throw new UncheckedIOException(e);
