[GRADLE-2872] Conversion from Maven can't handle a variable in a system path. Created: 15/Aug/13 Updated: 23/Oct/13 Resolved: 23/Oct/13 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 1.9-rc-1 |
Type: | Bug | ||
Reporter: | Gradle Forums | Assignee: | René Gröschke (Inactive) |
Resolution: | Fixed | Votes: | 1 |
Description |
Gradle 1.7-rc-2 $ gradle setupBuild FAILURE: Build failed with an exception.
This is used to reference the JavaFX JAR as distributed in Java 7. The jar is present in the JRE but not by default on the classpath so it must be added as a system dependency to be available to Maven projects. The result of evaluating ${java.home} in Maven of course evaluates to an absolute path. Gradle doesn't understand this, but it is a basic variable that it should probably convert automatically. |
Comments |
Comment by Gradle Forums [ 15/Aug/13 ] |
This seems to be a general problem processing the POM during conversion...
|
Comment by Gradle Forums [ 15/Aug/13 ] |
The sad thing is that when I changed this to a path without a variable to see if I could get any farther, I got this error: > [WARNING] 'dependencyManagement.dependencies.dependency.systemPath' for javafx:jfxrt:jar should use a variable instead of a hard-coded path /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/jre/lib/jfxrt.jar ... |