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 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
|