Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP3 (5.1.6), 5.2 EE SP1 (5.2.5)
-
All
Description
portal-impl.jar is designed with a large number of singleton classes which are erected on the basis that they will exist alone in the app server.
While compilation-time issues may be resolved, portlets cannot be made to work by simply adding portal-impl.jar, because doing so violates the above assumption, and the resulting problems will be extremely difficult to debug.
However, many new users/developers will attempt to add portal-impl.jar in order to get a portlet to compile, and will inevitably run into these difficult to debug problems.
To address this issue, the build script in the plugins SDK will no longer allow portal-impl.jar to be included. If the build script detects a portal-impl.jar, it will automatically fail the compilation and display a helpful message.
Attachments
Issue Links
- is related to
-
LPS-4157 Prevent inclusion of portal-impl.jar in plugins SDK portlets
- Closed