If you have a portal server configuration defined for your project in IBM® WebSphere® Portlet Factory Designer, you can build a portlet WAR.
When you create your project, you can define a portal server configuration for your project or associate a current configuration with your project.
- In Project Explorer with WebSphere Portlet Factory Designer, right-click the project and click Publish Application -> WebSphere Portlet Factory Portlet WAR.
If the menu command is not available, define a portal server configuration for your project (WebSphere Portlet Factory Project Properties -> Server Configurations).
- If this is the first time that you are publishing the portlet WAR, specify the location in which it is to be stored.
A progress meter is displayed indicating rebuild status.
The location that you specify is stored in WebSphere Portlet Factory Project Properties.
After you publish the WAR, automatic synchronization can copy any changed files to the portlet WAR. Set the Automatically Synchronize Dev WAR
option in WebSphere Portlet Factory Project Properties
Models from the samples
directories do not publish.
Parent topic: Publishing a project: wpf7
Automating the generation of WAR files: wpf7