Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367102 - [Help][Webapp] At runtime Eclipse help should not require a JSPC
Summary: [Help][Webapp] At runtime Eclipse help should not require a JSPC
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.7.1   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: platform-ua-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 12:03 EST by Holger Voormann CLA
Modified: 2019-11-14 03:23 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Voormann CLA 2011-12-19 12:03:37 EST
At runtime Eclipse should not require any JavaServer pages compiler (JSPC). Currently, there is a dependency from org.eclipse.help.webapp to org.eclipse.equinox.jsp.jasper.registry which should be removed.

In org.eclipse.help.webapp the Ant script "buildJSPs.xml" was intended to pre-compile JavaServer pages (*.jsp) into Java (Servlet) classes (*.java) and then use the compiled byte code (*.class) at runtime (see bug 360465 comment 2 and steps to reproduce below).  

Benefits:
- smaller minimal application footprint of RCP applications with help (org.apache.jasper.glassfish_2.2.2.v201112011158.jar has 578 KB)
- help start-up time will be reduced


Steps to reproduce that the *.jsp files are used instead of the precompiled Java Servlet byte code (in Eclipse 3.7.1 and N20111218):

1. Before launching Eclipse: in org.eclipse.help.webapp JAR archive in advanced/toolbar.jsp change

   BODY {
       background:<%=prefs.getToolbarBackground()%>;

to

   BODY {
       background:<%="r"+"ed"%>;

2. Launch Eclipse and open the help window: Help > Help Contents

Is: background color of the TOC and main area toolbar is red

Should: background color of the toolbars should be gray as specified in pre-compiled org.eclipse.help.internal.webapp.jsp.advanced.toolbar_jsp


Related bugs:
- bug 362724
- bug 360465
- bug 356887
Comment 1 Lars Vogel CLA 2019-11-14 03:23:53 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.