首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Grails插件和Team City

问Grails插件和Team City
EN

Stack Overflow用户
提问于 2010-04-01 21:03:52
回答 1查看 907关注 0票数 0

这是我目前的场景:

我已经使用GIT to teamcity签入了我的grails应用程序代码+ Groovy文件夹+ Grails文件夹。现在,当我尝试运行它时,Teamcity向我显示以下错误:

代码语言:javascript
复制
[13:33:35]: Error reading remote plugin list [java.net.ConnectException: Connection refused: connect], building locally...
[13:33:35]: Plugins list cache doesn't exist creating..
[13:33:36]: Unable to list plugins, please check you have a valid internet connection: Connection refused: connect
[13:33:37]: Reading remote plugin list ...

[13:33:38]: Plugins list cache doesn't exist creating..
[13:33:39]: Unable to list plugins, please check you have a valid internet connection: Connection refused: connect
[13:33:39]: Plugin 'db-util' was not found in repository. If it is not stored in a configured repository you will need to install it manually. Type 'grails list-plugins' to find out what plugins are available.
[13:33:39]: [delete] Deleting directory C:\Documents and Settings\RiskSystemsBuildSA\.grails\1.2.2\projects\f8c726f1e64e048c\plugins\tomcat-1.2.2
[13:33:41]: Process exited with code 1
[13:33:41]: Build finished

我想我将不得不将插件打包到我的应用程序中,然后在GIT中检查它们。

请让我知道你对这件事的看法。

非常感谢。

p.s.Teamcity correctly picks up the installed groovy and grails as I store .\grails and .\groovy in my teamcity environmen variables.

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2010-04-09 23:32:43

嗯,我终于做到了。我在build.config文件中添加了一行:

代码语言:javascript
复制
grails.project.plugins.dir="./grails/plugins"

这基本上是在你的项目目录中创建了一个dir插件,并在这里下载了所有的zip。接下来,我检查了所有的zip和GIT中的插件目录。既然一切都已签到,teamcity就没有任何理由抱怨了。

现在其他的一切都很顺利。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/2560493

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档