Friday, July 27, 2007

Re-compiling individual portlets

0. Set your $MAVEN_HOME variable, if necessary:

export MAVEN_HOME=$HOME/ogce2-x.y/third_party_tools/maven-1.0.2

1. cd to ogce2-x.y/ogce-portal

2. Then run this command below to recompile the :

$HOME/ogce2-x.y/third_party_tools/maven-1.0.2/bin/maven gp:deploy-portlet -Dportlet.name=filetransfer -Denv.CATALINA_HOME=../portal_deploy/apache-tomcat-5.5.12

The value for -Dportlet-name=... should be the specific subdirectory name of ogce-portal/portlets (ie use -Dportlet-name=proxymanager-portlet to compile the proxy manager.

No comments: