in dashboard/src/main/java/com/google/cloud/tools/opensource/dashboard/DashboardMain.java [259:267]
private static void copyResource(Path output, String resourceName)
throws IOException, URISyntaxException {
ClassLoader classLoader = DashboardMain.class.getClassLoader();
Path input = Paths.get(classLoader.getResource(resourceName).toURI()).toAbsolutePath();
Path copy = output.resolve(input.getFileName());
if (!Files.exists(copy)) {
Files.copy(input, copy);
}
}