You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2010/05/20 04:26:17 UTC

[jira] Issue Comment Edited: (CAMEL-2734) Camel source jars should support source code attachment feature of eclipse ide in pde mode

    [ https://issues.apache.org/activemq/browse/CAMEL-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59458#action_59458 ] 

Willem Jiang edited comment on CAMEL-2734 at 5/19/10 10:25 PM:
---------------------------------------------------------------

Don't worry,  Christian, I will take care of it.
Actually,  there is a variable("camel.osgi.version.clean") for you to get the "2.4.0.SNAPSHOT" when the project version is 2.4-SNAPSHOT.



      was (Author: njiang):
    Don't worry,  Christian, I will take care of it.
Actually,  there is a variable("camel.osgi.version.clean") for you to get the "2.4.0-SNAPSHOT" when the project version is 2.4-SNAPSHOT.


  
> Camel source jars should support source code attachment feature of eclipse ide in pde mode
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2734
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2734
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Christian Schneider
>            Assignee: Willem Jiang
>             Fix For: 2.4.0
>
>         Attachments: camel-core-2010-05-20.patch
>
>
> While source attachment works nicely outside of eclipse pde bundles with mvn eclipse:eclipse the same is currently very difficult when using the pde mode of eclipse. As this mode is the default for UI design camel should support it.
> I found in the eclips pde FAQ that it is necessary to add a header to the Manifest of the source bundle to attach it to the bundle. See
> http://wiki.eclipse.org/PDE/FAQ#How_do_source_attachments_for_bundles_work
> For camel-core-2.2.0-sources.jar I added the following to the Manifest by hand:
> Bundle-SymbolicName: org.apache.camel.camel-core.source
> Eclipse-SourceBundle: org.apache.camel.camel-core;version="2.2.0"
> After this simple change the source was automatically attached to the bundle by eclipse. So I propose to add this header by default to all source artifacts created in the maven build.

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