[ 
https://issues.apache.org/jira/browse/FELIX-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878627#action_12878627
 ] 

Guillaume Nodet commented on FELIX-2409:
----------------------------------------

Let's give you a concrete example.

if we just put in the patch you propose, you wouln't be able to deploy the 
JAX-WS api provided by 
http://www.springsource.com/repository/app/bundle/version/detail?name=com.springsource.com.sun.xml.ws&version=2.1.3
 for example, because the package versioning won't work.  So you'd have to 
deploy another bundle anyway.  Then there's really no reason for exporting the 
one from the JRE in the first place, it will only fragment the space more.

I guess the choice comes down to:
  * export everything from the jre and let the user deal with nasty issues when 
/ if they come up
  * export a minimal set and force the user to either tweak the config (meaning 
they kinda have a good knowledge of osgi) or make them deploy the needed bundles

Currently, we've mostly focused on the second way.  We may want to reconsider 
that, but has to be discussed furtther i think.

Btw, javax.annotation can easily be provided using the following bundle:
    
http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-annotation_1.1_spec/1.0/geronimo-annotation_1.1_spec-1.0.jar
or from inside karaf:
   mvn:org.apache.geronimo.specs/geronimo-annotation_1.1_spec/1.0



> javax.annotation not exported
> -----------------------------
>
>                 Key: FELIX-2409
>                 URL: https://issues.apache.org/jira/browse/FELIX-2409
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>    Affects Versions: karaf 1.6.0
>         Environment: Windows / jre-1.6
>            Reporter: Jean-Philippe CLEMENT
>
> Karaf config.properties does not export "jre-1.6" javax.annotation and 
> javax.annotation.processing standard packages.
> As they are part of the java 1.6 API it sounds normal to have them imported 
> by default:
>  javax.annotation, \
>  javax.annotation.processing, \
> Would it be possible to fix this?
> Thanks.

-- 
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