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:
  1. Enter a name for the portlet project.
  2. Optionally, enter a description.
  3. Accept the default location.
  4. 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.
  5. For the Target server field, select one of the following target WebSphere® Portal servers:
    • WebSphere Portal v7.0
    • WebSphere Portal v8.0.
  6. For the Enterprise application project field, enter the name of the EAR project to use for testing in the local test environment.
  7. For the Portlet API field, select JSR 286 Portlet, or JSR 168 Portlet to indicate with which API this portlet will comply.
  8. Select whether to include administrative console support files.
    Note:
    This option is not supported for HATS standard portlets.
  9. 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.