You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/02/28 09:13:19 UTC

[jira] [Reopened] (MARMOTTA-442) Update LDPath Bundles

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

Rupert Westenthaler reopened MARMOTTA-442:
------------------------------------------


Reopen to improve Exception handling in the service loading code of the DefaultConfiguration.

Backround:

The ldpath-core-bundle includes some functions with additional dependencies (JDOM2 for XML functions, JSOUP for HTML functions. In the Bundle those are defined as optional (as not all users will need those functions).

However the ServiceLoader will try to load those functions and will encounter Exceptions if those optional dependencies are missing.

This means that supporting optional dependencies require the service loader code in the DefaultConfiguration to recover from such exceptions.

> Update LDPath Bundles
> ---------------------
>
>                 Key: MARMOTTA-442
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-442
>             Project: Marmotta
>          Issue Type: Sub-task
>          Components: LDPath
>    Affects Versions: 3.0.1, 3.1-incubating
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>
> While some of the LDPath modules provide bundle packaging installing them will not provide a useable LDPath environment.
> This issue will bring the following improvements/fixes
> * a new ldpath-core-bundle module that embeds all ldpath-function-* modules. This will allow the DefaultConfiguration to find all default functions (as Java ServiceLoader only works for services loaded by the Classloader of the same bundle)
> * add bundle packaging for all backend implementation
> * add bundle packaging for the template modules.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)