platform-help-home/infocenter.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6, Fri May 17 17:33:38 2002 UTC revision 1.7, Sat Jun 8 17:34:07 2002 UTC
# Line 36  Line 36 
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">&lt;</span></em>Context path=&quot;/help&quot;&nbsp; docBase=&quot;d:\eclipse\plugins\org.eclipse.help.webapp&quot;&gt;    <pre><em><span style="font-style: normal">&lt;</span></em>Context path=&quot;/help&quot;&nbsp; docBase=&quot;d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0&quot;&gt;
44  &lt;/Context&gt;</pre>  &lt;/Context&gt;</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.&nbsp; In Tomcat 4, add this section as the last element    the ContextManager section.&nbsp; In Tomcat 4, add this section as the last element
# Line 48  Line 48 
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>&nbsp; Tomcat 3 does not have XML parser library available to      <li><b>Tomcat 3:</b>&nbsp; Tomcat 3 does not have XML parser library available to
51      a web application.&nbsp; To fix that, copy xerces.jar from      a web application.&nbsp; 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>&nbsp; Both Eclipse and Tomcat contain code to set a      <li><b>Tomcat 4:</b>&nbsp; Both Eclipse and Tomcat contain code to set a
55      URLStreamHandler, but it can only be set once.&nbsp; To allow both Tomcat and      URLStreamHandler, but it can only be set once.&nbsp; 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.&nbsp; In Tomcat 4.0.3 edit      to be added to the class path at Tomcat startup.&nbsp; In Tomcat 4.0.3 edit
59      tomcat/bin/setclasspath.bat file and after the line:&nbsp;<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:&nbsp;<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>

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7