Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] How to handle sources ?

Hi

Is there a good practice how you should handle sources of a plugin and
its dependencies ?

I want to be able to:
- Build an eclipse-application that only contains the binaries which
will be distributed
- Be able to debug the application with sources from within Eclipse

Should I create a separate source feature which includes the sources
instead of the binary bundles or is there a better way to do it ?


The second question is how I should handle source jar's from standard
maven repositories ?
For example:

There is a valid OSGi MANIFEST in the binary jar:
http://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.0/jsr311-api-1.0.jar

But the corresponding source jar only have the default Java MANIFEST:
http://repo1.maven.org/maven2/javax/ws/rs/jsr311-api/1.0/jsr311-api-1.0-sources.jar

Do I need to create a OSGi bundle of the source jar myself to make it be
possible to use it in a feature by Tycho ? Or is there some other better
way ?

/Erland


Back to the top