| Subject: | Re: Build with Harmony WAS: Xerces-J compilation error |
|---|---|
| From: | "Nathan Beyer" |
| Date: | Thu, 24 Jul 2008 22:19:13 -0500 |
|
Harmony doesn't have javadoc implemented, so that obviously doesn't work, but I'm able to get the compiles to work. The output is different as the Harmony compiler is ECJ. The most obvious issue at the moment is big failure in generating the documentation ('build doc'). I'm not familiar with the classes mentioned in the stack trace, so I'm looking for some pointers to the projects they belong to. Here's a snippet of the log with the stack trace I'm seeing. It looks like the org.apache.stylebooks.printers.ImagePrinter is using the proprietary Sun APIs. This shoud really be replaced with Image I/O APIs, but I'm not sure what project this code belongs to. Also, if I can see the code, I can work on a compatibility shim for Harmony.
[java] [Xalan2Processor] Applying XSL sheet "sbk:/style/stylesheets/any2project.xsl" [java] [Project] Creating "faq-pcfp.html" [java] [CachingParser] Serving cached document "sbk:/sources/faq-pcfp.xml" (1) [java] [Xalan2Processor] Applying XSL sheet "sbk:/style/stylesheets/faqs2document.xsl" [java] [Xalan2Processor] Applying XSL sheet "sbk:/style/stylesheets/document2html.xsl" [java] [Project] Creating "graphics/ext-16-label-3.jpg" [java] [Xalan2Processor] Applying XSL sheet "sbk:/style/stylesheets/context2label.xsl" [java] Uncaught exception in main: [java] java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/JPEGCodec [java] at org.apache.stylebook.printers.ImagePrinter.print(Unknown Source) [java] at org.apache.stylebook.BasicEntry.create(Unknown Source) [java] at org.apache.stylebook.Project.create(Unknown Source) [java] at org.apache.stylebook.StyleBook.main(Unknown Source) [java] Caused by: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGCodec [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:894) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:593) [java] at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:981) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:319) [java] at org.apache.stylebook.printers.ImagePrinter.print(Unknown Source) [java] ... 3 more -Nathan On Thu, Jul 24, 2008 at 9:20 PM, Michael Glavassevich <mrglavas@xxxxxxxxxx> wrote:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Build with Harmony (WAS: Xerces-J compilation error), Michael Glavassevich |
|---|---|
| Next by Date: | Re: Build with Harmony (WAS: Xerces-J compilation error), Michael Glavassevich |
| Previous by Thread: | Re: Build with Harmony (WAS: Xerces-J compilation error), Michael Glavassevich |
| Next by Thread: | Re: Build with Harmony (WAS: Xerces-J compilation error), Michael Glavassevich |
| Indexes: | [Date] [Thread] [Top] [All Lists] |