kordamp / jdeps-gradle-plugin

Run JDeps on a Gradle build
Apache License 2.0
35 stars 10 forks source link

CreateProcess error=206 #26

Closed Monroe1701 closed 11 months ago

Monroe1701 commented 2 years ago

It seems the command line can become too long (in my case):

Execution failed for task ':jdepsReport'.
> org.zeroturnaround.exec.ProcessInitException: Could not execute [jdeps, --multi-release, base, --class-path, C:\Users\USER\.gradle\caches\modules-2\files-2.1\org.projectlombok\lombok\1.18.22\9c08ea24c6eb714e2d6170e8122c069a0ba9aacf\lombok-1.18.22.jar;<MANY MORE JARS>]. Error=206, Filename or extension too long
aalmiray commented 2 years ago

Unfortunately jdeps does not support @ files for defining args but it does support using '*' in the classpath. I'll see what I can do.