安装 Nimble for Grails
我昨天遇到了 Nimble,但无法完成第 1 步,配置BuildConfig.groovy
查找 Nimble 的远程存储库。
我的 BuildConfig.groovy
文件只有一行:
grails.plugin.repos.discovery.intient="http://intient.com/downloads/grails/
这是运行 grails install-plugin nimble 0.2 时收到的消息:
Welcome to Grails 1.1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /opt/dev/sdks/grails-1.1.1
Base Directory: /home/wraith/dev/source/demo
Running script /opt/dev/sdks/grails-1.1.1/scripts/InstallPlugin.groovy
Environment set to development
No authentication for svn repo at intient ...
Reading remote plugin list ...
Reading remote plugin list ...
Reading remote plugin list ...
Plugin 'nimble' 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.
这是我第一次尝试安装插件不在官方存储库中。如果 Intient.com 或我的配置出现问题,缩小范围的最佳方法是什么?
I came across Nimble yesterday, but couldn't get past Step 1, configuring BuildConfig.groovy
to find the Nimble's remote repository.
My BuildConfig.groovy
file is one line:
grails.plugin.repos.discovery.intient="http://intient.com/downloads/grails/
Here is the message I get when running grails install-plugin nimble 0.2:
Welcome to Grails 1.1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /opt/dev/sdks/grails-1.1.1
Base Directory: /home/wraith/dev/source/demo
Running script /opt/dev/sdks/grails-1.1.1/scripts/InstallPlugin.groovy
Environment set to development
No authentication for svn repo at intient ...
Reading remote plugin list ...
Reading remote plugin list ...
Reading remote plugin list ...
Plugin 'nimble' 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.
This is the first time I have tried to install a plugin not in the official repository. What is the best way to narrow down if it is a problem at Intient.com or with my configuration?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
请按照这些说明进行以下修改:
Follow these instructions with the following modifications:
我们正在 intient.com 上执行一些维护,但负载均衡器在过去 12 小时左右的时间内没有提供此内容(哎呀!)。
现在应该已经排序了,但是幽灵怪物上面给出的步骤也适用于手动安装。
一旦 Grails 1.2 正式发布,Nimble 将成为官方插件存储库的一部分,我们根本不需要担心这一点。
We were performing some maintenance on intient.com and the load balancer wasn't providing this content for the last 12 hours or so (oops!).
Should be sorted now but the steps Wraith Monster gave above work for a manual install as well.
Once Grails 1.2 proper hits Nimble will be part of the official plugin repo and we won't need to worry about this at all.
您始终可以下载插件的 zip 文件并手动安装
you could always download the zip file for the plugin and install it manually
${USER_HOME}/.grails//projects//plugins
下)将grails.plugin.repos.discovery.intient="http://intient.com/downloads/grails/"
plugins.nimble =0.2
grails install-plugin
)它应该有效(至少,它对我有效)。祝你好运
${USER_HOME}/.grails/<grails-version>/projects/<myproject>/plugins
)grails.plugin.repos.discovery.intient="http://intient.com/downloads/grails/"
plugins.nimble=0.2
grails install-plugin <pluginName> <version>
)It should work (at least, it worked for me). Good luck