[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] custom javadoc plugin; exception finding narrow_book.css

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(JarURLConnection.java:114)
at org.eclipse.help.internal.webapp.servlet.EclipseConnector.openConnection(EclipseConnector.java:274)
at org.eclipse.help.internal.webapp.servlet.EclipseConnector.createConnection(EclipseConnector.java:177)
at org.eclipse.help.internal.webapp.servlet.EclipseConnector.transfer(EclipseConnector.java:100)
at org.eclipse.help.internal.webapp.servlet.ContentServlet.doGet(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$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:269)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.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.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)