Creating a new HATS portlet project
To create a new HATS portlet project, launch
the Create a Project wizard using one of the following actions:
- Select HATS > New > Project from the menu bar.
- Select File > New > HATS Project from the menu bar.
- Click the Create HATS Project icon on the toolbar.
In
the Create a Project wizard, on the HATS Project panel:
- Enter a name for the portlet project.
- Optionally, enter a description.
- Accept the default location.
- Select Web to indicate this is
a Web project.
Note:If the Web deployment option is disabled, this indicates that no server runtimes are defined. To define server runtimes, go to Window > Preferences > Server > Runtime Environments and add at least one runtime definition.
- For the Target server field, select one of the following target WebSphere® Portal servers:
- WebSphere Portal v7.0
- WebSphere Portal v8.0.
- For the Enterprise application project field, enter the name of the EAR project to use for testing in the local test environment.
- For the Portlet API field, select JSR 286 Portlet, or JSR 168 Portlet to indicate with which API this portlet will comply.
- Select whether to include administrative console support files.
Note:This option is not supported for HATS standard portlets.
- Click Next and continue creating your project as normal.
This will generate a single HATS portlet project including an EAR project that can be used for testing with a local test environment.