Pluto Plugin

  • Tags: portlets, jsr-168
  • Latest: 0.2
  • Last Updated: 28 May 2009
  • Grails version: 1.1 > *
  • Authors: Kenji Nakamura, Philip Wu
0 vote
Dependency:
compile ":pluto:0.2"

 Documentation

Summary

Installation

grails install-plugin pluto

portlets and portlets-pluto plugins are also installed.

Description

Portlets plugins source code has migrated from svn repo https://svn.codehaus.org/grails-plugins to github https://github.com/grails-portlets-plugin. If you plan to improve the codebase, please create a JIRA ticket to request github access with your github id. If you join the team, you can update the codebase directly rather than creating a pull request.

Please create an issue in JIRA under the Grails-Portlets component if you find problems or come up with ideas for enhancements.

Overview

This plugin integrates Apache Pluto portal server into grails "run-app" command. It allows to developers to deploy and hot-reload portlets generated by Pluto Portlets plugin.

This plugin is designed for quick development turnaround and not meant for the runtime as a production environment.

kenjin@kenjin-mbp: grails run-app 
Welcome to Grails 1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/local/grails

Base Directory: /Users/kenjin/tmp/pluto1 Running script /usr/local/grails/scripts/RunApp.groovy Environment set to development Using Portlet Spec 1.0 … Using explicit plugin resolve order [custom, core, default] … [groovyc] Compiling 1 source file to /Users/kenjin/.grails/1.1/projects/pluto1/classes Searching for portlets: file:/Users/kenjin/tmp/pluto1/grails-app/portlets/**/*Portlet.groovy … Generating pluto-portal-driver-config.xml - 2 portlets found … Searching for portlets: file:/Users/kenjin/tmp/pluto1/grails-app/portlets/**/*Portlet.groovy … Generating portlet.xml - 2 portlets found … Running Grails application.. May 19, 2009 2:24:45 PM org.apache.pluto.driver.PortalStartupListener contextInitialized INFO: Starting up Pluto Portal Driver. . . May 19, 2009 2:24:45 PM org.apache.pluto.driver.PortalStartupListener initContainer INFO: Initializing Portlet Container. . . May 19, 2009 2:24:45 PM org.apache.pluto.driver.PortalStartupListener initContainer INFO: Pluto portlet container started. May 19, 2009 2:24:45 PM org.apache.pluto.driver.PortalStartupListener contextInitialized INFO: ********** Pluto Portal Driver Started **********

Server running. Browse to http://localhost:8080/pluto1 Pluto is running. To access portlets, browse to scheme://hostname:port/pluto

Open http://localhost:8080/pluto, and you should see Pluto's login page. Type in user id "pluto" and password "pluto", then the portlet you developed should show up. See the screenshots to see how it looks like.