| 36 |
<li>Install (unzip) the driver to a directory <var>d:\eclipse</var>. |
<li>Install (unzip) the driver to a directory <var>d:\eclipse</var>. |
| 37 |
</li> |
</li> |
| 38 |
<li>Register the Eclipse Help application residing in |
<li>Register the Eclipse Help application residing in |
| 39 |
d:\eclipse\plugins\org.eclipse.help.webapp with the web server. Do not copy |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0 with the web server. Do not copy |
| 40 |
this directory elsewhere; it must remain in Eclipse installation tree.<p>In |
this directory elsewhere; it must remain in Eclipse installation tree.<p>In |
| 41 |
Tomcat this registration can be accomplished by adding the following lines to |
Tomcat this registration can be accomplished by adding the following lines to |
| 42 |
the tomcat\conf\server.xml file:</p> |
the tomcat\conf\server.xml file:</p> |
| 43 |
<pre><em><span style="font-style: normal"><</span></em>Context path="/help" docBase="d:\eclipse\plugins\org.eclipse.help.webapp"> |
<pre><em><span style="font-style: normal"><</span></em>Context path="/help" docBase="d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0"> |
| 44 |
</Context></pre> |
</Context></pre> |
| 45 |
<p>In Tomcat 3 add the lines near end of the file, as the last element inside |
<p>In Tomcat 3 add the lines near end of the file, as the last element inside |
| 46 |
the ContextManager section. In Tomcat 4, add this section as the last element |
the ContextManager section. In Tomcat 4, add this section as the last element |
| 48 |
<li>Install the following fixes, depending on which server you are using: |
<li>Install the following fixes, depending on which server you are using: |
| 49 |
<ul> |
<ul> |
| 50 |
<li><b>Tomcat 3:</b> Tomcat 3 does not have XML parser library available to |
<li><b>Tomcat 3:</b> Tomcat 3 does not have XML parser library available to |
| 51 |
a web application. To fix that, copy xerces.jar from |
a web application. To fix that, copy xercesImpl.jar and xmlParserAPIs.jar from |
| 52 |
d:\eclipse\plugins\org.apache.xerces\ to |
d:\eclipse\plugins\org.apache.xerces_4.0.3\ to |
| 53 |
d:\eclipse\plugins\org.eclipse.help.webapp\WEB-INF\lib\ </li> |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\WEB-INF\lib\ </li> |
| 54 |
<li><b>Tomcat 4:</b> Both Eclipse and Tomcat contain code to set a |
<li><b>Tomcat 4:</b> Both Eclipse and Tomcat contain code to set a |
| 55 |
URLStreamHandler, but it can only be set once. To allow both Tomcat and |
URLStreamHandler, but it can only be set once. To allow both Tomcat and |
| 56 |
Eclipse to work correctly, a library |
Eclipse to work correctly, a library |
| 57 |
d:\eclipse\plugins\org.eclipse.help.webapp\infocenter\eclipseurl.jar needs |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\infocenter\eclipseurl.jar needs |
| 58 |
to be added to the class path at Tomcat startup. In Tomcat 4.0.3 edit |
to be added to the class path at Tomcat startup. In Tomcat 4.0.3 edit |
| 59 |
tomcat/bin/setclasspath.bat file and after the line: <pre><em><span style="font-style: normal">set CLASSPATH=%JAVA_HOME%\lib\tools.jar</span></em></pre> |
tomcat/bin/setclasspath.bat file and after the line: <pre><em><span style="font-style: normal">set CLASSPATH=%JAVA_HOME%\lib\tools.jar</span></em></pre> |
| 60 |
<p>insert the line:</p> |
<p>insert the line:</p> |
| 61 |
<pre><em><span style="font-style: normal">set CLASSPATH=%CLASSPATH%;d:\eclipse\plugins\org.eclipse.help.webapp\infocenter\eclipseurl.jar.</span></em> </pre> |
<pre><em><span style="font-style: normal">set CLASSPATH=%CLASSPATH%;d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\infocenter\eclipseurl.jar.</span></em> </pre> |
| 62 |
|
<p>Replace the xerces.jar file in tomcat\common\lib with xercesImpl.jar and xmlParserAPIs.jar from d:\eclipse\plugins\org.apache.xerces_4.0.3 |
| 63 |
|
|
| 64 |
</li> |
</li> |
| 65 |
<li><b>Disable precompiled JSP's:</b>. Unless you are using Tomcat 4.0.x or |
<li><b>Disable precompiled JSP's:</b>. Unless you are using Tomcat 4.0.x or |
| 66 |
plan to ship the jasper jar files, you should also copy |
plan to ship the jasper jar files, you should also copy |
| 67 |
d:\eclipse\plugins\org.eclipse.help.webapp\infocenter\web.xml to |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\infocenter\web.xml to |
| 68 |
d:\eclipse\plugins\org.eclipse.help.webapp\WEB-INF. </li> |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\WEB-INF. </li> |
| 69 |
</ul> |
</ul> |
| 70 |
</li> |
</li> |
| 71 |
</ol> |
</ol> |