Feature sets provide a convenient way of packaging functionality for use by the members of a development team.
A feature set is a set of the necessary files for a builder or set of builders. A feature set may contain models, profile sets, builders, and classes. Feature sets do not add overhead in your application and in the WAR file unrelated to features you are trying to implement. You can add feature sets to or remove feature sets from the project at any time.
Follow this procedure to add a feature set to an IBM® WebSphere® Portlet Factory project.
- In the Project Explorer, right-click the project and click Properties -> WebSphere Portlet Factory Project Properties -> Feature Info to add a feature set.
- In the Feature Info pane, you can select the feature set that contains the builders to use in your project.
- After you add certain feature sets to a project, click File -> Restart to restart Eclipse to properly load the classes that are associated with the feature set.
Note: If you add the Spreadsheet Extensions feature set to your project and open a model that contains the Spreadsheet builders, you can see a model generation error (com.bowstreet.webapp.engine.MethodGeneratorException). The problem occurs because the classes are not compiled when you open the model. Restarting Eclipse avoids the problem. If you already have the Spreadsheet Extensions feature set installed when Eclipse starts, or add the feature set during project creation, the problem does not occur.
Parent topic: Working with IBM WebSphere Portlet Factory projects: wpf7