Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Annotation Processor & other Compile only dependencies


I'm trying to enable google autovalue on a tycho project.

Currently to make it work I have to:
* Osgify the bundle.
* Add the bundle to the target platform
* Add the autovalue bundle as an "optional" dependency on google autovalue

I have to osgify the bundle because the autovalue team doesn't want to include the OSGI metadata because they consider the osgi metadata as runtime metadata and their library is used at compile time only without any presence at runtime.

The setup I have seems to work. However it seems a bit of a hack to use an optional dependency to describe a compile only dependency.

Is there a cleaner way to deal with compile time dependencies in PDE/tycho world?


Back to the top