Building the portlet sample webapp for a specific container
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 |
---|
|
Budiling a portlet WAR, step by step. 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 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 - Several containers are 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 |