Spec Locator should favor implementations located on a given bundles classpath
------------------------------------------------------------------------------

                 Key: SMX4-342
                 URL: https://issues.apache.org/activemq/browse/SMX4-342
             Project: ServiceMix 4
          Issue Type: Improvement
    Affects Versions: specs-1.3.0, specs-1.2.0, specs-1.4.0
            Reporter: Lars Heinemann
             Fix For: specs-1.4.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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to