Portlet Factory, Version 6.1.2


 

Building an IBM WebSphere Portlet Factory project

When used in a WebSphere Portlet Factory project, the Eclipse build operation performs multiple actions.

  • Converts source files into executable files

    For example, compiling Java sources into class files and copying property files from source directories to class directories.

  • Copies files and creates WARs

    For example, to an output location on the application server or to a WAR file.

WebSphere Portlet Factory Designer works best if the automatic build setting is enabled (Build automatically under Window > Preferences > General > Workspace). Although this setting is enabled by default, sometimes a developer disables it if there are other active projects in the workspace that have large numbers of sources or otherwise take a long time to build.

If it is necessary to run with this setting disabled, a manual build might be necessary in the following circumstances.

  • New sources are added – For example, when installing a feature set or package

  • Sources are generated – For example, by the Data Page builder create resource bundle action

  • Synchronization with the application server. For example, accessing the server by a URL after changing any resources (models, profile sets, or content) in the project.

    Note: The Run command typically does a build before launching the first page.

Parent topic: About working with projects


Library | Support |