1

昨日Nimbleに出会いましたが、ステップ1BuildConfig.groovyを通過できず、Nimbleのリモートリポジトリを見つける ように構成しました。

私のBuildConfig.groovyファイルは1行です:

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 の問題か、自分の構成の問題かを絞り込む最善の方法は何ですか?

4

4 に答える 4

2

intient.com でいくつかのメンテナンスを行っていましたが、ロード バランサーはこの 12 時間ほどこのコンテンツを提供していませんでした (おっと!)。

今すぐソートする必要がありますが、上記のレイス モンスターの手順は手動インストールでも機能します。

Grails 1.2 が適切にヒットすれば、Nimble は公式のプラグイン リポジトリの一部となり、これについてはまったく心配する必要はありません。

于 2009-10-14T00:42:11.800 に答える
2

次の変更を加えて、これらの指示に従います。

于 2009-10-13T21:31:58.637 に答える
1

いつでもプラグインの zip ファイルをダウンロードして、手動でインストールできます

于 2009-10-13T16:23:24.303 に答える
1
  1. http://github.com/intient/nimbleからソース コードをダウンロードします。
  2. ${USER_HOME}/.grails/<grails-version>/projects/<myproject>/pluginsプロジェクトの 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 <pluginName> <version>)
  7. ステップ 3から直接開始

それはうまくいくはずです(少なくとも、私にとってはうまくいきました)。幸運を

于 2009-10-13T21:25:20.147 に答える