3
我得到一個編譯Grails eclipse項目的問題。我正在運行Mac OS/X(獅子會),但在VMware會話中使用Windows 7上的Grails,因爲我必須連接到Windows應用程序。Grails依賴關係生成失敗(常春藤,Windows 7)
的依存產生失敗,出現以下錯誤:
Command terminated with an error code (see details for output)
------System.out:-----------
| Loading Grails 2.1.1
| Configuring classpath
| Error Error executing script Compile: \\vmware-host\Shared Folders\.grails\ivy- cache\resolved-org.grails.internal-petclinic-0.1.xml (The system cannot find the path specified) (Use --stacktrace to see the full trace)
------System.err:-----------
的問題是,在目錄「\\的VMware主機\共享文件夾」不存在也永遠不會存在。我試圖改變HOME,USER_HOME環境變量,甚至添加-Duser.home = c:\ users \ jm到JVM設置,但我無法更改Grails構建所需的臨時目錄。
有誰知道告訴Grails/Ivy使用不同目錄工作的一個竅門嗎?
謝謝!我在http://grails.org/doc/2.0.x/guide/introduction.html – 2013-03-04 10:48:06
@JaapMulder找到了另一個解決方案,您可以對自己的問題給出更詳細的答案並接受它。這樣,具有相同問題的其他用戶可以直接找到解決方案。 – moeTi 2013-03-04 11:22:30