On 31.01.2011 15:25, [email protected] wrote: > Hi > > I'm having a problem trying to get the xml-apis bundle to build. I'm > new to Felix and to Maven, so this might all be my fault. When I
The good news: not your fault. The bad news: you're doomed. > execute Maven against the xml-apis pom.xml, I'm getting the following > error: > > [ERROR] Error building bundle > org.apache.felix.commons:org.apache.felix.commons. > xml-apis:bundle:1.3.4-0002-SNAPSHOT : Unresolved references to > [sun.io] by class (es) on the Bundle-Classpath[Jar:dot]: > [org/apache/xml/serialize/EncodingInfo$Ch > arToByteConverterMethods.class] [ERROR] Error(s) found in bundle > configuration [INFO] I suggest you give up now. Right now. That particular rabbit hole goes deep, and there is no escape. xml-apis and xerces in their current forms are completely unmodular and mostly impossible to get right in OSGi without major fixes to those projects. These are unlikely to happen, for a variety of reasons. Just stay away from them at (not only wrt. OSGi) and use the stuff in the JDK. The latest JDK6 updates had several updates to XML and should work for the majority of cases. -h --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

