This install guide covers the following types of installations:
"<PLUTO_HOME>"
.<PLUTO_HOME>/bin
.
For *nix use startup.sh
; for windows use
startup.bat
.http://localhost:8080/pluto/portal
,
the Pluto Driver, and your ready to go!<TOMCAT_HOME>
<PLUTO_HOME>/build.properties
to
include the following properties:
Property | Value | Example(s) |
---|---|---|
maven.tomcat.home | Tomcat Installation Directory | /usr/local/apache-tomcat.5.0.27 ,
c:\\apache-tomcat.5.0.27 |
maven.tomcat.version.major | Tomcat Major Version Number | 5 |
<PLUTO_HOME>
issue the command:
maven fullDeployment
<PLUTO_HOME>/bin
.
For *nix use startup.sh
; for windows use
startup.bat
.http://localhost:8080/pluto/portal
, the Pluto Driver,
and your ready to go!maven deploy -Ddeploy=/MyPathToMyPortlet/target/MyPortlet.war
portlet-deploy
directory that will perform the same task
as the Maven deployment goal.
Step 3: Modify the Portlet Entity Registry and the Page
Registry and Portlet Contexts files. These configuration files are
located at:
[portal-home]/WEB-INF/data/portletentityregistry.xml
[portal-home]/WEB-INF/data/pageregistry.xml
[portal-home]/WEB-INF/data/portletcontexts.txt
<application id="6"> <definition-id>MyPortlet</definition-id> <portlet id="1"> <definition-id>MyPortlet.MyPortlet</definition-id> </portlet> </application>
<fragment name="MyPortlet" type="page"> <navigation> <title>My First Portlet</title> <description>...</description> </navigation> <fragment name="row3" type="row"> <fragment name="col3" type="column"> <fragment name="p4" type="portlet"> <property name="portlet" value="6.1"/> </fragment> </fragment> </fragment> ... ... </fragment>
portletcontexts.txt
) lists
the webapp contexts for each portlet application that runs in Pluto.
Each portlet app has a line in this file corresponding to a path and
starting with a slash ('/'). In Tomcat, this path is the value of the
'path' attribute of the 'Context' element in a context XML descriptor
in <TOMCAT_HOME>/conf/Catalina/localhost
(or another 'conf' subdirectory).
Deploying a custom portlet application to Pluto using the Admin Portlet Application requires the following steps:
http://localhost:8080/pluto/portal
, the local Pluto
home page.