Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Building the portlet sample webapp for a specific container

Info
titleWork in Progress

The new portlet integration code is only available via CVS for now.
It will be part of the 2.2.1 release.

If you want to try out the webwork portlet integration code now, check out
webwork from CVS HEAD and follow the build instructions below:

Panel
titleBuild instructions

Budiling a portlet WAR, step by step.

  • Run ant

Some text with a title

  • run 'ant' from the webapp project dirdirectory
  • cd to webapps directory
  • To build a portlet webapp, simply run: ant build-portlet
  • You can use Use the 'container' system property to target a specific container, e.g. '-Dcontainer=exo'.
      Supported
      • Several containers are
      exo, gridsphere, liferay-3.6.1, jboss-portal-2.0, jboss-portal-2.2 and jetspeed2.
      For IBM WebSphere Portal 5.1, no container property is required.
      For example:
      ant build-portlet
      • supported.
      • Example command:
        • Code Block
          
          ant build-portlet \-Dcontainer=jboss-portal-2.2
          
    • Check the etc/yourcontainer directory for a ReadmeREADME file. If available, check for further instructions.
    • deploy Deploy the war WAR to your portal server
Note

The referenced Ant bjuild file is not yet available for Struts 2