You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sahoo (JIRA)" <ji...@apache.org> on 2009/02/10 09:38:59 UTC

[jira] Created: (FELIX-932) Don't install plain jar files as bundles

Don't install plain jar files as bundles
----------------------------------------

                 Key: FELIX-932
                 URL: https://issues.apache.org/jira/browse/FELIX-932
             Project: Felix
          Issue Type: Bug
          Components: File Install
         Environment: generic
            Reporter: Sahoo
             Fix For: fileinstall-0.9.2


File Install bundle currently does not check the jar file to see if it has any OSGi metadata or not. It assumes every jar file as OSGi bundle and installs them. At the minimum, it should look for Bundle-SymbolicName header and in the absence of the same, it should exclude the jar file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-932) Don't install plain jar files as bundles

Posted by "Sahoo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sahoo closed FELIX-932.
-----------------------

       Resolution: Invalid
    Fix Version/s:     (was: fileinstall-0.9.2)

> Don't install plain jar files as bundles
> ----------------------------------------
>
>                 Key: FELIX-932
>                 URL: https://issues.apache.org/jira/browse/FELIX-932
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>         Environment: generic
>            Reporter: Sahoo
>
> File Install bundle currently does not check the jar file to see if it has any OSGi metadata or not. It assumes every jar file as OSGi bundle and installs them. At the minimum, it should look for Bundle-SymbolicName header and in the absence of the same, it should exclude the jar file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-932) Don't install plain jar files as bundles

Posted by "Sahoo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688652#action_12688652 ] 

Sahoo commented on FELIX-932:
-----------------------------

[I wanted to add this comment while closing the issue, but there was a minor glitch while closing, so I could not add the comment then. Adding it now]

Given that it is not easy to find out whether a jar is bundle or not, and there is no side effect of installing a plain jar as a bundle, I am fine with the current behavior. So, I am closing the issue as INVALID.

> Don't install plain jar files as bundles
> ----------------------------------------
>
>                 Key: FELIX-932
>                 URL: https://issues.apache.org/jira/browse/FELIX-932
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>         Environment: generic
>            Reporter: Sahoo
>
> File Install bundle currently does not check the jar file to see if it has any OSGi metadata or not. It assumes every jar file as OSGi bundle and installs them. At the minimum, it should look for Bundle-SymbolicName header and in the absence of the same, it should exclude the jar file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-932) Don't install plain jar files as bundles

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672285#action_12672285 ] 

Richard S. Hall commented on FELIX-932:
---------------------------------------

What about R3 bundles that do not have a symbolic name?

> Don't install plain jar files as bundles
> ----------------------------------------
>
>                 Key: FELIX-932
>                 URL: https://issues.apache.org/jira/browse/FELIX-932
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>         Environment: generic
>            Reporter: Sahoo
>             Fix For: fileinstall-0.9.2
>
>
> File Install bundle currently does not check the jar file to see if it has any OSGi metadata or not. It assumes every jar file as OSGi bundle and installs them. At the minimum, it should look for Bundle-SymbolicName header and in the absence of the same, it should exclude the jar file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.