运维开发网

哈德森不喜欢Grails

运维开发网 https://www.qedev.com 2020-05-09 12:47 出处:网络 作者:运维开发网整理
我正在尝试让我们的CI-Server Hudson运行grails任务并安装Grails-Plugin,但似乎无法解决与ivy的依赖关系…… [projectx] $/usr/share/grails/bin/grails prod war projectx.war Welcome to Grails 1.2.0 - http://grails.org/ Licensed under Apache
我正在尝试让我们的CI-Server Hudson运行grails任务并安装Grails-Plugin,但似乎无法解决与ivy的依赖关系……

[projectx] $/usr/share/grails/bin/grails prod war projectx.war
Welcome to Grails 1.2.0 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/share/grails

Base Directory: /var/local/hudson/jobs/projectx/workspace/projectx
Resolving dependencies...
Error executing script War: /usr/share/tomcat5.5/.ivy2/cache/resolved-projectx-projectx-0.1.xml (No such file or directory)
java.io.FileNotFoundException: /usr/share/tomcat5.5/.ivy2/cache/resolved-projectx-projectx-0.1.xml (No such file or directory)
    at java.io.FileOutputStream.open(Native Method) ...

有谁知道如何使这个工作?

非常感谢!

看起来tomcat运行的用户被配置为将/usr/share/tomcat5.5作为主目录,并且您没有对该目录的写访问权(并且可能不应该)

我猜你需要修改运行tomcat的用户,或者运行Hudson Job的用户,以获得有效的主目录.

0

精彩评论

暂无评论...
验证码 换一张
取 消