You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2015/02/24 18:54:04 UTC

[jira] [Moved] (SM-2434) Spec Locator should favor implementations located on a given bundles classpath

     [ https://issues.apache.org/jira/browse/SM-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krzysztof Sobkowiak moved SMX4-342 to SM-2434:
----------------------------------------------

          Component/s:     (was: specs)
                       specs
        Fix Version/s:     (was: specs-2.5.0)
                       specs-2.5.0
    Affects Version/s:     (was: specs-1.4.0)
                  Key: SM-2434  (was: SMX4-342)
              Project: ServiceMix  (was: ServiceMix 4)

> Spec Locator should favor implementations located on a given bundles classpath
> ------------------------------------------------------------------------------
>
>                 Key: SM-2434
>                 URL: https://issues.apache.org/jira/browse/SM-2434
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: specs
>            Reporter: Lars Heinemann
>             Fix For: specs-2.5.0
>
>
> see IM discussion:
> {code}
> (09:57:19) lhein: I'd like to use Xerces Parser in SMX
> (09:57:37) lhein: how can I switch to it as SMX uses some sun parser
> (09:58:01) Guillaume Nodet: you want to switch everything to xerces ?
> (09:58:14) Guillaume Nodet: or just one particular use ?
> (09:58:26) lhein: well...to be honest it would be only affect 1 or 2 bundles
> (09:58:43) lhein: so a particular use
> (09:59:08) Guillaume Nodet: you can try adding a Require-Bundle to xerces from your bundle
> (09:59:15) Guillaume Nodet: it might work
> (09:59:28) lhein: is there already a xerces bundle available?
> (09:59:33) Guillaume Nodet: not sure if the enhanced spec is intelligent enough
> (09:59:48) lhein: I would give it a try
> (09:59:51) Guillaume Nodet: http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xerces/2.9.1_1/
> (10:00:35) lhein: thank you, I will try this
> (10:00:42) Guillaume Nodet: you might even deploy this one and remove the jaxp-ri
> (10:00:55) Guillaume Nodet: though i suppose you'd need to deploy xalan too in this case
> (10:01:11) lhein: first I will try with the requireBundle trick
> (10:15:42) lhein: seems that did not work
> (10:17:17) Guillaume Nodet: you might want to raise a jira to enhnace the spec to support that
> (10:17:38) Guillaume Nodet: so that it would favor implementations located on a given bundle's classpath
> (10:18:09) lhein: the spec locator or where?
> (10:18:17) Guillaume Nodet: yeah
> (10:18:47) lhein: ok, will raise a JIRA
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)