[slf4j-dev] [Bug 198] New: Source jars should support source code attachment feature of eclipse ide in pde mode

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Sep 9 22:07:13 CEST 2010


http://bugzilla.slf4j.org/show_bug.cgi?id=198

           Summary: Source jars should support source code attachment
                    feature of eclipse ide in pde mode
           Product: SLF4J
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: Core API
        AssignedTo: slf4j-dev at qos.ch
        ReportedBy: lenkite at gmail.com


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. 

In the eclipse 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 slf4j-api-1.6.1-sources.jar, after adding the following 2 lines to the
MANIFEST.MF

Bundle-SymbolicName: slf4j.api.source
Eclipse-SourceBundle:  slf4j.api;version="1.6.1"

,the source was automatically attached to the bundle by eclipse. Request
addition of this header by default to all source artifacts created in the maven
build.

An example of how this was done and fixed for Apache Camel is shown at:
https://issues.apache.org/activemq/browse/CAMEL-2734


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list