Community
Participate
Working Groups
See https://www.eclipse.org/lists/orbit-dev/msg05360.html . This has been requested and worked on since the end of September.
That sounds great, will this include all the missing ones mentioned here [1]? [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=568215#c9
(In reply to Christoph Laeubrich from comment #1) > That sounds great, will this include all the missing ones mentioned here [1]? > > [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=568215#c9 Yes, these should all be included.
Perfect, does 2020-12 RC1 mean its already available somewhere? Or will it be released with the 2020-12 release of eclipse?
You can find the 2020-12 RC1 on the downloads page : http://download.eclipse.org/tools/orbit/downloads/ http://download.eclipse.org/tools/orbit/downloads/drops/S20201124213957/repository for a static repo . http://download.eclipse.org/tools/orbit/downloads/2020-12/ for what will eventually become the final release.
One thing I have noticed: the new batik bundles seems to have all a name derived from the maven coordinates (org.xmlgraphic.batik:<bundle name>), while the older 1.13 ones have a more descriptive (Batik Utils) name. I think the new naming scheme is fine as its always a bit odd to guess what bundle is behind the name, maybe the other batik 1.13 once can get the org.xmlgraphic.batik:<bundle name> also so the are grouped nicely together when filtering? It would also be nice if there would be a master-feature that includes all batik libs for a particular version so one do not need to select them all by hand.
I found one issue it seems that batik.anim is missing an import for org.apache.batik.i18n.LocalizableSupport I'm getting the following error: java.lang.ClassNotFoundException: org.apache.batik.i18n.LocalizableSupport cannot be found by org.apache.batik.anim_1.13.0.v20201124-1840 Code that triggers this: > String parser = XMLResourceDescriptor.getXMLParserClassName(); > SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser); > Document doc = f.createDocument(uri, inputStream); I patched the manifest and added > org.apache.batik.i18n;bundle-version="[1.13.0,2)" as a required bundle then the code runs fine.
(In reply to Christoph Laeubrich from comment #6) > I found one issue it seems that batik.anim is missing an import for > org.apache.batik.i18n.LocalizableSupport > > > I'm getting the following error: > java.lang.ClassNotFoundException: org.apache.batik.i18n.LocalizableSupport > cannot be found by org.apache.batik.anim_1.13.0.v20201124-1840 > > Code that triggers this: > > String parser = XMLResourceDescriptor.getXMLParserClassName(); > > SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser); > > Document doc = f.createDocument(uri, inputStream); > > I patched the manifest and added > > > org.apache.batik.i18n;bundle-version="[1.13.0,2)" > > as a required bundle then the code runs fine. I can probably add this to the build just before doing the final release. If there's other issues that come up, I likely won't be able to address them until the next release.
That would be good, beside from this all seems to work as expected!
Thanks for the change, everything seems to work now as expected!
Hi, we found a problem using batik 1.13 from Orbit. I add it here instead of a new issues as it is still open. The PNGTranscoder of batik-transcoder cannot load a WriteAdapter because the class loader does not know about the package "org.apache.batik.ext.awt.image.codec.png". We previously generated OSGi bundles by ourselves for Batik. There we added the dependency to batik-codec by adding the package 'org.apache.batik.ext.awt.image.codec.png' to the Import-Package directive. Without that we need to overwrite the method in PNGTranscoder to be able to write PNG images. Maybe you can add it to the Orbit bundles?