JavaScud | Forum | JIRA | Blog |
  Dashboard > WebWork2文档中文化计划 > ... > FAQ > How to build the portlet war for a specific portal server
  WebWork2文档中文化计划 Log In View a printable version of the current page.  
  How to build the portlet war for a specific portal server
Added by scud, last edited by scud on Mar 30, 2006  (view change)
Labels: 
(None)

Building the portlet sample webapp for a specific container

Build instructions

Some text with a title

  • run 'ant' from the webapp project dir
  • cd to webapps directory
  • To build a portlet webapp, simply run: ant build-portlet
  • You can use the 'container' system property to target a specific container, e.g. '-Dcontainer=exo'.
    Supported 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 -Dcontainer=jboss-portal-2.2
  • Check the etc/yourcontainer directory for a Readme. If available, check for further instructions.
  • deploy the war to your portal server
Site running on a free Atlassian Confluence Open Source Project License granted to WebWork China. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.3 Build:#808 May 29, 2007) - Bug/feature request - Contact Administrators