WEB开发网
开发学院软件开发Java 精通 Grails: 了解插件 阅读

精通 Grails: 了解插件

 2009-10-26 00:00:00 来源:WEB开发网   
核心提示: 清单 7. Searchable 插件的描述<pluginlatest-release="0.5.5"name="searchable"><releasetag="RELEASE_0_5_5"type="sv


清单 7. Searchable 插件的描述
<plugin latest-release="0.5.5" name="searchable"> 
 <release tag="RELEASE_0_5_5" type="svn" version="0.5.5"> 
  <title>Adds rich search functionality to Grails domain models. 
   This version is recommended for JDK 1.5+</title> 
  <author>Maurice Nicholson</author> 
  <authorEmail>maurice@freeshell.org</authorEmail> 
  <description>Adds rich search functionality to Grails domain models. 
   Built on Compass (http://www.compass-project.org/) and Lucene 
   (http://lucene.apache.org/) 
   This version is recommended for JDK 1.5+ 
  </description> 
  <documentation>http://grails.org/Searchable+Plugin</documentation> 
  <file>http://plugins.grails.org/grails-searchable/ 
   tags/RELEASE_0_5_5/grails-searchable-0.5.5.zip</file> 
 </release> 
 
 <!-- snip --> 
</plugin> 

一旦 Grails 发现了从哪里可以下载这些插件,它(理所当然)会将这些所需要的插件下载到 .grails/1.1.1/plugins,如清单 8 所示:


清单 8. 下载插件
$ grails install-plugin searchable 
 //download core and default plugin lists 
 
 // continued... 
 [get] Getting: http://plugins.grails.org/grails-searchable/ 
 tags/RELEASE_0_5_5/grails-searchable-0.5.5.zip 
 [get] To: /Users/sdavis/.grails/1.1.1/plugins/grails-searchable-0.5.5.zip 
 [get] last modified = Thu Jun 18 22:24:45 MDT 2009 

上一页  1 2 3 4 5 6 7 8 9 10  下一页

Tags:精通 Grails 了解

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接