Importing portal sites

Use the Import wizard to retrieve an existing portal site from a WebSphere Portal server.

To create a new portal project, it is recommended that you import an existing portal site from WebSphere Portal server into Rational Developer. Importing is also useful for updating the configuration of a project that already exists in Rational Developer.

The portal site configuration on WebSphere Portal server contains the following resources: the global settings, the resource definitions, the portal content tree, and the page layout. Importing these resources from WebSphere Portal server to Rational Developer overwrites duplicate resources within the existing portal project. Non-duplicate resources from the server configuration are copied into the existing portal project. Likewise, resources that are unique to the portal project are not affected by the import.

Rational Developer uses the XML configuration interface to import a server configuration, and optionally retrieves files under websphere_installation_directory/installedApps/node/wps.ear directory. When creating a new portal project, retrieving files is mandatory. To retrieve files, Rational Developer must have access to the directory described above via copy or FTP. You define this access method on the Portal server. For more details on defining a Portal server for import, see Defining servers for importing or publishing portals.

  1. Select File > Import.

  2. Within the Select page, click Portal for your import source; then click Next.

  3. Within the Import Portal Project page, select a portal server that you want to use. If the server dialog box is empty, click New to define a server. For more information on defining a server for import, refer to Defining servers for importing or publishing portals.

  4. From the Portal project combo box, either choose the name of the portal project or enter a name for your portal project for import.

  5. Under Import Options, choose whether you want to import the configuration and files, or the configuration only.

    If you choose to import the configuration and files, the files under the websphere_installation_directory/installedApps/node/wps.ear directory are imported. The files include the JSP, CSS, and image files for themes and skins.

    Also within the Import Options dialog box is a check box labeled Delete project on overwrite. This option is only active if you are importing to an existing portal project. If you select this option, the existing portal project is completely deleted before overwriting.

Limitations

 

Related tasks

Creating new portal projects