安装 Nimble for Grails

发布于 2024-08-07 02:55:10 字数 1122 浏览 10 评论 0原文

我昨天遇到了 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

且行且努力 2024-08-14 02:55:10

请按照这些说明进行以下修改:

  • 第 1 步正确< /strong>
  • 不使用远程存储库,下载压缩插件
  • 将插件移至 ~/dev/plugins
  • grails install-plugin ~/dev/plugins/grails-nimble-0.2.zip
  • 步骤 3-5 是正确的

Follow these instructions with the following modifications:

  • Step 1 is correct
  • Instead of using the remote repository, download the zipped plugin
  • Move the plugin to ~/dev/plugins
  • grails install-plugin ~/dev/plugins/grails-nimble-0.2.zip
  • Steps 3-5 are correct
我还不会笑 2024-08-14 02:55:10

我们正在 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.

鹿港巷口少年归 2024-08-14 02:55:10

您始终可以下载插件的 zip 文件并手动安装

you could always download the zip file for the plugin and install it manually

别闹i 2024-08-14 02:55:10
  1. http://github.com/intient/nimble 下载源代码,
  2. 解压到你的插件目录下项目(通常在 ${USER_HOME}/.grails//projects//plugins 下)将
  3. 提取的文件夹重命名为“nimble-0.2”
  4. 从 BuildConfig 中删除该行grails.plugin.repos.discovery.intient="http://intient.com/downloads/grails/"
  5. 编辑项目的 application.properties 文件并添加行 plugins.nimble =0.2
  6. 如果您的项目下没有安装,您应该安装插件:shiro(至少版本1.0-SNAPSHOT)和mail(>0.6)。 (运行命令 grails install-plugin
  7. 直接从 第3步

它应该有效(至少,它对我有效)。祝你好运

  1. Download source code from http://github.com/intient/nimble
  2. Unzip under your plugins directory of your project (usually under ${USER_HOME}/.grails/<grails-version>/projects/<myproject>/plugins)
  3. Rename the extracted folder into "nimble-0.2"
  4. Remove from BuildConfig the line grails.plugin.repos.discovery.intient="http://intient.com/downloads/grails/"
  5. Edit the file application.properties of your project and add the line plugins.nimble=0.2
  6. If not installed under your project, you should install the plugins : shiro (version 1.0-SNAPSHOT at least) and mail (>0.6). (run command grails install-plugin <pluginName> <version>)
  7. Start directly from Step 3

It should work (at least, it worked for me). Good luck

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文