Bug 21501 - helpwebapp assumes it is deployed under plugins directory
Summary: helpwebapp assumes it is deployed under plugins directory
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Konrad Kolosowski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 21419
  Show dependency tree
 
Reported: 2002-07-11 15:05 EDT by Konrad Kolosowski CLA
Modified: 2002-08-07 09:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>