Child pages
  • How to build the portlet WAR for a specific portal server

Versions Compared


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

Budiling a portlet WAR, step by step.

  • Run ant from the webapp project directory
  • cd to webapps directory
  • To build a portlet webapp, run: ant build-portlet
  • Use the container system property to target a specific container, e.g. '-Dcontainer=exo'.
    • Several containers are supported.
    • Example command:
      • Code Block
        ant build-portlet \-Dcontainer=jboss-portal-2.2
  • Check the etc/yourcontainer directory for a README file. If available, check for further instructions.
  • Deploy the WAR to your portal server

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