private void prepareReportDir()

in report-builder/src/jetbrains/coverage/report/impl/html/HTMLReportBuilderImpl.java [200:212]


  private void prepareReportDir(@NotNull final FileSystem fs) throws IOException {
    File cssDir = new File(myReportDir, CSS_DIR);
    IOUtil.copyResource(getClass(), "/htmlTemplates/css/coverage.css", fs.openFile(new File(cssDir, "coverage.css")));
    IOUtil.copyResource(getClass(), "/htmlTemplates/css/idea.min.css", fs.openFile(new File(cssDir, "idea.min.css")));

    File imgDir = new File(myReportDir, IMG_DIR);
    IOUtil.copyResource(getClass(), "/htmlTemplates/img/arrowUp.gif", fs.openFile(new File(imgDir, "arrowUp.gif")));
    IOUtil.copyResource(getClass(), "/htmlTemplates/img/arrowDown.gif", fs.openFile(new File(imgDir, "arrowDown.gif")));

    File jsDir = new File(myReportDir, JS_DIR);
    IOUtil.copyResource(getClass(), "/htmlTemplates/js/highlight.min.js", fs.openFile(new File(jsDir, "highlight.min.js")));
    IOUtil.copyResource(getClass(), "/htmlTemplates/js/highlightjs-line-numbers.min.js", fs.openFile(new File(jsDir, "highlightjs-line-numbers.min.js")));
  }