avoid too-long classpath so it works on windows

This commit is contained in:
Robert Muir 2015-12-21 15:23:28 -08:00
parent 7065639a26
commit 2cbfc54a81
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ dependencyLicenses {
task hdfsFixture(type: org.elasticsearch.gradle.test.Fixture) { task hdfsFixture(type: org.elasticsearch.gradle.test.Fixture) {
dependsOn project.configurations.hdfsFixture dependsOn project.configurations.hdfsFixture
executable = new File(project.javaHome, 'bin/java') executable = new File(project.javaHome, 'bin/java')
args '-cp', "${ -> project.configurations.hdfsFixture.asPath }", env 'CLASSPATH', "${ -> project.configurations.hdfsFixture.asPath }"
'hdfs.MiniHDFS', args 'hdfs.MiniHDFS',
baseDir baseDir
} }