Exporting and installing portlet projects

Exporting a portlet project creates a WAR file that can be installed on a WebSphere Portal server. To export a WAR file for a portlet project, follow the steps below.

  1. From the Project Explorer view, right-click the portlet project and select Export > WAR file. The Export wizard opens.

  2. On the WAR Export page, do the following:

    1. Enter the destination directory for the WAR file. A default name for the WAR file will automatically be provided, but you may change it.

    2. Select the Export Source files check box to include source files in the WAR file.

    3. Select the Overwrite existing file to automatically replace an existing WAR file for this project.

    4. Press Finish.

  3. Transfer the WAR file to the target WebSphere Portal server system using a method of your choice.

  4. Install the WAR file on the target WebSphere Portal server using the WebSphere Portal administrative tools.

 

Related tasks

Defining servers for publishing portlets