avoid too-long classpath so it works on windows
This commit is contained in:
parent
7065639a26
commit
2cbfc54a81
|
@ -64,8 +64,8 @@ dependencyLicenses {
|
|||
task hdfsFixture(type: org.elasticsearch.gradle.test.Fixture) {
|
||||
dependsOn project.configurations.hdfsFixture
|
||||
executable = new File(project.javaHome, 'bin/java')
|
||||
args '-cp', "${ -> project.configurations.hdfsFixture.asPath }",
|
||||
'hdfs.MiniHDFS',
|
||||
env 'CLASSPATH', "${ -> project.configurations.hdfsFixture.asPath }"
|
||||
args 'hdfs.MiniHDFS',
|
||||
baseDir
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue