我正在尝试从 - https://github.com/deanhiller/playorm构建Playorm。 但是构建失败了,我不知道为什么。我查看了脚本文件以查看APP_HOME是如何设置的,但似乎代码可能无法正常工作。我还注意到构建脚本已经设置了Gradle 1.6的路径,我使用的是Gradle 2.0,但是我无法在脚本中找到引用
提前致谢
/usr/bin/gradle-2.0/bin ls
total 24
-rwxr-xr-x@ 1 sazabo staff 5070 Jul 1 09:52 gradle
-rwxr-xr-x@ 1 sazabo staff 2394 Jul 1 09:52 gradle.bat
/src/playorm-master ./gradlew build
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: /Users/sazabo/.gradle/wrapper/dists/gradle-1.6-bin/72srdo3a5eb3bic159kar72vok/gradle-1.6-bin.zip.lck (No such file or directory)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)
at org.gradle.wrapper.Install.createDist(Install.java:47)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
Caused by: java.io.FileNotFoundException: /Users/sazabo/.gradle/wrapper/dists/gradle-1.6-bin/72srdo3a5eb3bic159kar72vok/gradle-1.6-bin.zip.lck (No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:236)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49)
... 3 more
~/src/playorm-master