Portlet Factory, Version 6.1.2
About working with projects
A project is the foundation of an application in IBM® WebSphere Portlet Factory.
A project contains all the artifacts required by WebSphere Portlet Factory to build the web application, portlet application or widget.
WebSphere Portlet Factory Designer wizards are available to help you perform any project operations, such as creating a project, adding WebSphere Portlet Factory artifacts to and removing WebSphere Portlet Factory artifacts from a project, and modifying project settings.
Most wizards are accessible from a project right-click menu and wizards usually provide default settings that you can change according to your development environment.
Typical WebSphere Portlet Factory project contents
The following characteristics describe a typical WebSphere Portlet Factory project.
- Project Nature
- WebSphere Portlet Factory projects use the Java project nature.
- Project Contents
- WebSphere Portlet Factory projects contain all the contents of WebSphere Portlet Factory servable content root directory. For example, wpf.war and below.
- Source Directory
- WebSphere Portlet Factory projects use the project installation WEB-INF/work/source directory as a source directory. You may designate other directories as Source Directories as well, but include this one.
- Included Libraries
- WebSphere Portlet Factory projects include all the JAR files in the WebSphere Portlet Factory WEB-INF/lib directory and the JAR files in the WEB-INF/clientlibs/servlet.jar.
- External Tools Builders
- WebSphere Portlet Factory WebApp builder runs an Ant script that copies files from the project to the server.
Project locations
By default, WebSphere Portlet Factory projects are located in the Eclipse /workspace directory. However, you can locate a WebSphere Portlet Factory project anywhere in your file system. On Windows systems, due to constraints on path name length, there are benefits to locating the project at or near the top of the file system.
Parent topic: Overview of IBM WebSphere Portlet Factory Designer
- Building an IBM WebSphere Portlet Factory project
When used in a WebSphere Portlet Factory project, the Eclipse build operation performs multiple actions.
- About creating your project
When you finish creating the project, you can choose whether to build a development WAR file or the production WAR file.
- Excluding files from a deployed WAR
IBM WebSphere Portlet Factory provides a mechanism you can use to exclude one or more project files from a deployed WAR.
- Modification of an IBM WebSphere Portlet Factory project
You can modify a WebSphere Portlet Factory project in a variety of ways.
- About working with a remote project
You can work on a remote project, (a project located on a remote machine) providing you follow some simple guidelines.
- Pre-compiling model JSPs
Pre-generating and pre-compiling Java Server Pages (JSPs) prior to deployment eliminates the delay a user experiences due to the lag time caused by waiting for JSP pages to generate and compile.
- Refactoring
IBM WebSphere Portlet Factory offers extended support for refactoring through the Project Explorer and the Java Package Explorer.
- Deployment configurations for widgets
This topic discusses deploying your widget to a server.
- Creating an IBM WebSphere Portlet Factory project
The first step in building an application is to create a project.
- Adding a feature set to an IBM WebSphere Portlet Factory project
Feature sets provide a convenient way of packaging functionality for use by the members of a development team. Follow this procedure to add a feature set to a project.
- Deleting IBM WebSphere Portlet Factory feature sets
You can remove a WebSphere Portlet Factory feature set from a project.
- About deploying a project to a remote server
If your server is not installed locally, perform some configuration activities to deploy to a remote server.
Library | Support |