You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2011/07/21 20:38:57 UTC

[jira] [Created] (UIMA-2176) Addons OSGi - embed dependencies as jars, exclude UIMA Jars

Addons OSGi - embed dependencies as jars, exclude UIMA Jars
-----------------------------------------------------------

                 Key: UIMA-2176
                 URL: https://issues.apache.org/jira/browse/UIMA-2176
             Project: UIMA
          Issue Type: Improvement
          Components: addons-osgi
            Reporter: Marshall Schor
            Assignee: Marshall Schor


Current OSGi packaging for UIMA addon annotators unpacks the code plus the dependencies, and this results in the components with the same names overlaying one another.  Change this to avoid the unpacking.  

Current OSGi packaging for UIMA addon annotators includes the UIMA Jars within every addon, even though they are already packaged as an OSGi bundle.  Change this to import these instead.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (UIMA-2176) Addons OSGi - embed dependencies as jars, exclude UIMA Jars

Posted by "Marshall Schor (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor resolved UIMA-2176.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.1Addons
         Assignee: Tommaso Teofili  (was: Marshall Schor)

The fix changed the approach - it seems the uimaj-core Jar (at least) is needed for the way these OSGi packagings are being used in Felix, which doesn't support Eclipse Buddy style.  Build changed to include (just) the uimaj-core Jar.  Tommaso - can you do a test to see if this is working?

> Addons OSGi - embed dependencies as jars, exclude UIMA Jars
> -----------------------------------------------------------
>
>                 Key: UIMA-2176
>                 URL: https://issues.apache.org/jira/browse/UIMA-2176
>             Project: UIMA
>          Issue Type: Improvement
>          Components: addons-osgi
>            Reporter: Marshall Schor
>            Assignee: Tommaso Teofili
>             Fix For: 2.3.1Addons
>
>
> Current OSGi packaging for UIMA addon annotators unpacks the code plus the dependencies, and this results in the components with the same names overlaying one another.  Change this to avoid the unpacking.  
> Current OSGi packaging for UIMA addon annotators includes the UIMA Jars within every addon, even though they are already packaged as an OSGi bundle.  Change this to import these instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (UIMA-2176) Addons OSGi - embed dependencies as jars, exclude UIMA Jars

Posted by "Marshall Schor (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069193#comment-13069193 ] 

Marshall Schor commented on UIMA-2176:
--------------------------------------

Forgot to say, you'll need to cd to the addons-osgi-runtime project after updating to head, and run mvn clean install to get the osgi things rebuilt.

> Addons OSGi - embed dependencies as jars, exclude UIMA Jars
> -----------------------------------------------------------
>
>                 Key: UIMA-2176
>                 URL: https://issues.apache.org/jira/browse/UIMA-2176
>             Project: UIMA
>          Issue Type: Improvement
>          Components: addons-osgi
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>
> Current OSGi packaging for UIMA addon annotators unpacks the code plus the dependencies, and this results in the components with the same names overlaying one another.  Change this to avoid the unpacking.  
> Current OSGi packaging for UIMA addon annotators includes the UIMA Jars within every addon, even though they are already packaged as an OSGi bundle.  Change this to import these instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (UIMA-2176) Addons OSGi - embed dependencies as jars, exclude UIMA Jars

Posted by "Marshall Schor (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069212#comment-13069212 ] 

Marshall Schor commented on UIMA-2176:
--------------------------------------

If we have class loading issues with this design, I wonder if making the annotator-osgi bundles into "fragments" of the host uima-ep-runtime bundle would solve this... just a thought, and maybe something for the "testers" to try, if they have trouble.  I think that this would put all the annotators and the UIMA framework under the same parent class-loader.

> Addons OSGi - embed dependencies as jars, exclude UIMA Jars
> -----------------------------------------------------------
>
>                 Key: UIMA-2176
>                 URL: https://issues.apache.org/jira/browse/UIMA-2176
>             Project: UIMA
>          Issue Type: Improvement
>          Components: addons-osgi
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>
> Current OSGi packaging for UIMA addon annotators unpacks the code plus the dependencies, and this results in the components with the same names overlaying one another.  Change this to avoid the unpacking.  
> Current OSGi packaging for UIMA addon annotators includes the UIMA Jars within every addon, even though they are already packaged as an OSGi bundle.  Change this to import these instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (UIMA-2176) Addons OSGi - embed dependencies as jars, exclude UIMA Jars

Posted by "Marshall Schor (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor closed UIMA-2176.
--------------------------------


> Addons OSGi - embed dependencies as jars, exclude UIMA Jars
> -----------------------------------------------------------
>
>                 Key: UIMA-2176
>                 URL: https://issues.apache.org/jira/browse/UIMA-2176
>             Project: UIMA
>          Issue Type: Improvement
>          Components: addons-osgi
>            Reporter: Marshall Schor
>            Assignee: Tommaso Teofili
>             Fix For: 2.3.1Addons
>
>
> Current OSGi packaging for UIMA addon annotators unpacks the code plus the dependencies, and this results in the components with the same names overlaying one another.  Change this to avoid the unpacking.  
> Current OSGi packaging for UIMA addon annotators includes the UIMA Jars within every addon, even though they are already packaged as an OSGi bundle.  Change this to import these instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (UIMA-2176) Addons OSGi - embed dependencies as jars, exclude UIMA Jars

Posted by "Tommaso Teofili (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069464#comment-13069464 ] 

Tommaso Teofili commented on UIMA-2176:
---------------------------------------

thanks Marshall for this, now going to test them with this new configuration.

> Addons OSGi - embed dependencies as jars, exclude UIMA Jars
> -----------------------------------------------------------
>
>                 Key: UIMA-2176
>                 URL: https://issues.apache.org/jira/browse/UIMA-2176
>             Project: UIMA
>          Issue Type: Improvement
>          Components: addons-osgi
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>
> Current OSGi packaging for UIMA addon annotators unpacks the code plus the dependencies, and this results in the components with the same names overlaying one another.  Change this to avoid the unpacking.  
> Current OSGi packaging for UIMA addon annotators includes the UIMA Jars within every addon, even though they are already packaged as an OSGi bundle.  Change this to import these instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (UIMA-2176) Addons OSGi - embed dependencies as jars, exclude UIMA Jars

Posted by "Marshall Schor (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069190#comment-13069190 ] 

Marshall Schor commented on UIMA-2176:
--------------------------------------

I've checked in the changes and it's ready for testing.  Can someone who has previously run these in an OSGi container not using Eclipse-buddy things, see if this packaging works?  You will need to separately include the uima-ep-runtime bundle.

> Addons OSGi - embed dependencies as jars, exclude UIMA Jars
> -----------------------------------------------------------
>
>                 Key: UIMA-2176
>                 URL: https://issues.apache.org/jira/browse/UIMA-2176
>             Project: UIMA
>          Issue Type: Improvement
>          Components: addons-osgi
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>
> Current OSGi packaging for UIMA addon annotators unpacks the code plus the dependencies, and this results in the components with the same names overlaying one another.  Change this to avoid the unpacking.  
> Current OSGi packaging for UIMA addon annotators includes the UIMA Jars within every addon, even though they are already packaged as an OSGi bundle.  Change this to import these instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira