Bug 21501

Summary: helpwebapp assumes it is deployed under plugins directory
Product: [Eclipse Project] Platform Reporter: Konrad Kolosowski <konradk>
Component: User AssistanceAssignee: Konrad Kolosowski <konradk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 21419    

Description Konrad Kolosowski CLA 2002-07-11 15:05:58 EDT
helpwebapp assumes it is deployed under pluigins directory.  In Websphere, web 
application is copied to another loocation causing infocenter not to work, 
because it cannot find boot loader.
Comment 1 Konrad Kolosowski CLA 2002-07-11 15:11:43 EDT
I have released the code in head, that will use ECLIPSE_HOME context parameter 
instead of assuming install location if it parameter value is provided.  The 
parameter can be provided web.xml, for anybody editing file by hand, here is an 
example.
	<context-param>
		<param-name>ECLIPSE_HOME</param-name>
		<param-value>/my/eclipse/install</param-value>
	</context-param>

If paramter is not present or value is empty string, old algorithm for finding 
boot loader will execute.

Comment 2 Konrad Kolosowski CLA 2002-07-11 15:12:36 EDT
Fixed.  The web.xml for infocenter contains parameter definition that may be 
edited if needed:
	<context-param>
		<param-name>ECLIPSE_HOME</param-name>
		<param-value></param-value>
		<description>The directory where eclipse is installed.  For 
example, "d:/eclipse".  THe parameter is required only when deployed help web 
application is not installed inside of Eclipse plugins directory.</description>
	</context-param>