custom javadoc plugin; exception finding narrow_book.css [message #334574] |
Wed, 18 February 2009 10:43 |
Eclipse User |
|
|
|
I am writing a javadoc plugin (i.e. a plugin that contains javadoc) for
libraries that are being deployed with my product. The javadoc is
hooked up properly, but everytime a page is displayed in the help view
(via F1), I get an exception in the Error log because it can't find
win32_narrow_book.css and narrow_book.css *in* the zip file that
contains the html files. The exception is below.
Note the hardcoded text: "PLUGINS_ROOT/PRODUCT_PLUGIN/"
I was able to add a preference property to affect the following part of
the string: "PRODUCT_PLUGIN/win32_narrow_book.css". However, I can't
seem to affect "PLUGINS_ROOT".
Is there another way to affect the path, or a way to turn off css usage
altogether.
The help is found and displayed, I just get these errors in the error log.
Thanks,
Ernest
java.io.FileNotFoundException: JAR entry
api/components/com/swing/content/PLUGINS_ROOT/PRODUCT_PLUGIN /win32_narrow_book.css
not found in C:\eclipses\workspaces\FAD4\doc.components\doc.zip
at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConn ection.java:114)
at
org.eclipse.help.internal.webapp.servlet.EclipseConnector.op enConnection(EclipseConnector.java:274)
at
org.eclipse.help.internal.webapp.servlet.EclipseConnector.cr eateConnection(EclipseConnector.java:177)
at
org.eclipse.help.internal.webapp.servlet.EclipseConnector.tr ansfer(EclipseConnector.java:100)
at
org.eclipse.help.internal.webapp.servlet.ContentServlet.doGe t(ContentServlet.java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:180)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:269)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
at
org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
|
|
|
Powered by
FUDForum. Page generated in 0.03081 seconds