Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Cannot compile project using classes from a fragment

motes motes wrote: 
> One possible workaround is to do the following:
> 
> 1) Add the fragment to a feature and build a p2 site.
> 2) Add the p2 site to the target definition for the original project
> and then build the project.

This workaround will no longer work with Tycho 0.13. The correct solution is what Jan proposed

jars.extra.classpath=platform:/plugin/<fragment_id>

or extra.<library-name>=platform/plugin/<fragement_id> if you building multiple jars (cf. http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Freference%2Fpde_feature_generating_build.htm)

Regards
Tobias





Back to the top