Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still having the issue with longClassPath #7

Open
pbehl80 opened this issue Oct 10, 2018 · 2 comments
Open

Still having the issue with longClassPath #7

pbehl80 opened this issue Oct 10, 2018 · 2 comments

Comments

@pbehl80
Copy link

pbehl80 commented Oct 10, 2018

I am still having issue with Long Classpath after applying the plugin
java.io.IOException: Cannot run program "java": CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.ford.auto.parallel.runtime.ParallelFeatureRunner.run(ParallelFeatureRunner.java:27)
at com.ford.auto.parallel.runtime.ParallelRunner.runFeature(ParallelRunner.java:143)
at com.ford.auto.parallel.runtime.ParallelRunner.lambda$0(ParallelRunner.java:47)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

@vai21
Copy link

vai21 commented Oct 29, 2018

I use this script

`buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
}
}

apply plugin: "com.github.ManifestClasspath"`

It works..
maybe try to clean build..

@gitanjali6
Copy link

Hello,
I tried to use this gradle-util-plugins plugin, I can see it downloaded in .gradle cache but, still getting classpath issue while running on windows. Can you tell me the location where it creates the manifest jar ? and check whether it sets the classpath with this manifest jar or not?
I am simply using below scripts in build.gradle:

buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
}
}

apply plugin: "com.github.ManifestClasspath"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants