Skip to main content

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

Can't you declare the autovalue as a dependency of the tycho compiler ?


Le 21 déc. 2015 08:37, "Sebastien Arod" <sebastien.arod@xxxxxxxxx> a écrit :

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?


tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top