You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/02/12 17:12:19 UTC

[jira] [Resolved] (CAMEL-7187) apt document generator - OSGi split package issue when writing to same package

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

Claus Ibsen resolved CAMEL-7187.
--------------------------------

    Resolution: Fixed

Writing to META-INF is tricky as the felix-bundle-plugin does not include .html files in its include resources, and its a bitch to configure.

So lets keep the doc in the package of the component. 

> apt document generator - OSGi split package issue when writing to same package
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-7187
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7187
>             Project: Camel
>          Issue Type: Improvement
>          Components: tooling
>    Affects Versions: 2.12.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.12.3, 2.13.0
>
>
> The apt processor should generate the html docs in component package and not in org.apache.camel.component. As the latter causes osgi split packages, and also each component bundle plugin does not include that package, and therefore the documentation is missing in the JARs.
> Having the docs in the component package where the .class code is resolves this problem.
> Another alternative is to write to META-INF/services/org/apache/camel/component like component.properties does.
> Though then resource loading from runtime is a little more tricky.



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