[GRADLE-968] gradle.bat, had to use [-Dgradle.home=%GRADLE_HOME%] instead of [-Dgradle.home="%GRADLE_HOME%"], no double-quotes around %GRADLE_HOME% Created: 09/Jun/10 Updated: 04/Jan/13 Resolved: 04/Jan/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 0.9.2 |
Type: | Bug | ||
Reporter: | Evgeny Goldin | Assignee: | Hans Dockter |
Resolution: | Fixed | Votes: | 0 |
Description |
JAVA_HOME=d:\Winny\java\jdk1.6.0_20 GRADLE_HOME=d:\Winny\java\gradle-0.9-preview-3\ Running "gradle -v" caused (I've added a dump of a command executed): C:\Users\evgeny>gradle -v ["d:\Winny\java\jdk1.6.0_20\bin\java.exe" -Dgradle.home="d:\Winny\java\gradle-0.9-preview-3\" -classpath "d:\Winny\java\gradle-0.9-preview-3\\lib\gradle-launcher-0.9-preview-3.jar" org.gradle.launcher.GradleMain -v] Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -client to select the "client" VM -server to select the "server" VM -hotspot is a synonym for the "client" VM [deprecated] The default VM is client. ... after changing '-Dgradle.home="%GRADLE_HOME%"' to '-Dgradle.home=%GRADLE_HOME%' I now get C:\Users\evgeny>gradle -v ["d:\Winny\java\jdk1.6.0_20\bin\java.exe" -Dgradle.home=d:\Winny\java\gradle-0.9-preview-3\ -classpath "d:\Winny\java\gradle-0.9-preview-3\\lib\gradle-launcher-0.9-preview-3.jar" org.gradle.launcher.GradleMain -v] ------------------------------------------------------------ Gradle 0.9-preview-3 ------------------------------------------------------------ Gradle buildtime: Thursday, 3 June 2010 11:51:38 AM EST Groovy: 1.7.2 Ant: Apache Ant version 1.8.1 compiled on April 30 2010 Ivy: 2.1.0 Java: 1.6.0_20 JVM: 16.3-b01 JVM Vendor: Sun Microsystems Inc. OS Name: Windows 7 |