IBM Support

Migration: Handle backward migration for JSR 168 Portlet projects

Troubleshooting


Problem

Backward compatibility is not handled for JSR 168 Portlet projects in Rational Application Developer Version 7.5, as a result JSR 168 Portlet projects created in Rational Application Developer V7.5 gives compilation errors when migrated back to Rational Application Developer Version 7.0 and later.

Symptom

Compilation errors in JSR 168 Portlet projects migrated back from Rational Application Developer Version 7.5 to Rational Application Developer Version 7.0 and later

Cause

The JSR facets have been renamed in Rational Application Developer Version 7.5, thus these will not be recognized in Rational Application Developer Version 7.0 and later

Resolving The Problem


The matrix lists the JSR facets recognized in the Rational Application Developer Version 7.0 and later:

Facets / Portlet ProjectJSR 168 Basic and EmptyJSR 168 Faces Portlet projectsJSR 168 StrutsPortlet projects
JSR 168 Portlets
*
*
*
JSR 168 Portlets on Websphere Portal
*
*
*
JSR 168 Portlets with Faces
NA
*
NA
Struts for JSR 168 portlets
NA
NA
*

Perform the following steps to change the facets:
Right click on the Portlet Project migrated to Rational Application Developer Version 7.0 and later.
Select Properties --> Project Facets.
Click on Add/Modify Project facets.
Choose the facets required by the project and click OK.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Portal \/ Portlet Development","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.5","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21318734