melix / jmh-gradle-plugin

Integrates the JMH benchmarking framework with Gradle
Apache License 2.0
666 stars 88 forks source link

The filename or extension is too long #137

Open nikolakurtic opened 5 years ago

nikolakurtic commented 5 years ago

Is this "The filename or extension is too long" issue under Windows resolved? I'm using latest Gradle plugin and JMH, and I still get this error.

grv87 commented 5 years ago

@nikolakurtic, see discussion at #107.

TL;DR:

  1. Add this configuration option:

    jmh {
    jvmArgs = ['-Djmh.separateClasspathJAR=true']
    }
  2. Put all dirs listed here on the same drive. (Hope this won't be necessary with the next JMH version)