Wednesday, September 05, 2007

New Build Process

The old shell script+Ant+Maven1+Maven2 build process is being replaced with a clean Maven 2 build. This is currently in SVN and will be included in the next release.

The base directory structure is now
  • portal_deploy: this contains the apache server and is location of the portal after deployment.
  • global-config: this contains Maven poms for deploying the Java COG jars into tomcat's shared/lib.
  • portlets: this contains the portlets. Each portlet is in a separate directory.
  • certificates: this installs the certificates into $HOME/.globus/certificates
  • containers: this includes various JSR 168 containers. For now, this only contains Gridsphere 2.1.5 but alternative versions of Gridsphere, Sakai, et al will be placed here.
  • lnf_portal: this directory includes container specific goals for customizing the look and feel of the logo. This includes logos, style sheets, etc.
The entire portal is installed with the command

mvn install

The portal can be cleaned completely with

mvn clean

To update an existing deployment (for example, reinstalling the filetransfer portlet), use the following command:

mvn clean install -f portlets/filetransfer/pom.xml

No comments: