[
https://issues.apache.org/jira/browse/SLING-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993821#comment-12993821
]
Justin Edelson commented on SLING-1958:
---------------------------------------
Also tried adding these bundles:
+ <bundle>
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.bcel</artifactId>
+ <version>5.2_3</version>
+ </bundle>
+ <bundle>
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.xalan</artifactId>
+ <version>2.7.1_3</version>
+ </bundle>
+ <bundle>
+ <groupId>org.apache.servicemix.bundles</groupId>
+
<artifactId>org.apache.servicemix.bundles.xalan-serializer</artifactId>
+ <version>2.7.1_3</version>
+ </bundle>
This works better, although there now there are these errors on stdout/stderr:
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: encoding "UTF-8" not supported, using UTF-8
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: encoding "UTF-8" not supported, using UTF-8
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: encoding "UTF-8" not supported, using UTF-8
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: encoding "UTF-8" not supported, using UTF-8
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: encoding "UTF-8" not supported, using UTF-8
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: encoding "UTF-8" not supported, using UTF-8
Warning: The encoding 'UTF-8' is not supported by the Java runtime.
Warning: encoding "UTF-8" not supported, using UTF-8
[WARNING] un-handlable path resources/install
However, with these additional bundles, I get about 70 integration test
failures.
> Replace system package export of select XML API packages by bundles
> -------------------------------------------------------------------
>
> Key: SLING-1958
> URL: https://issues.apache.org/jira/browse/SLING-1958
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Reporter: Felix Meschberger
> Fix For: Launchpad Builder 6, Launchpad Base 2.2.2
>
> Attachments: SLING-1958.patch
>
>
> As discussed on the dev list [1] I propose to change the approach to
> supporting XML in Sling as follows:
> - Remove javax.xml.*, org.w3c.*, and org.xml.sax* packages covered by JAX-P
> from the System bundle exports
> (that is the jre-1.6 and jre-1.5 properties in the default sling
> properties)
> --> Change in the default sling.properties in Launchpad Base
> - Add the following bundles to the default Sling Build
> - org.apache.servicemix.specs.jaxp-api-1.3, 1.7.0
> - org.apache.servicemix.bundles.xerces, 2.9.1.4
> - org.apache.servicemix.bundles.xmlresolver, 1.2.0.3
> --> Change to the list.xml in Launchpad Builder
> Will attach a patch to this issue for feedback.
> [1] http://markmail.org/message/2fk73koxf4ihjihm
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira