Replies: 2 comments
-
Not that I am aware of. But what particularly makes you need to use Targlets? What are you missing in PDE/m2e ?
Have you reported this issue to PDE and Tycho? If there is some "standard" local p2 repo that PDE and Tycho could consider, it could make sense to add it directly in the consumer plugin to not depend on an Oomph-specific location type. |
Beta Was this translation helpful? Give feedback.
-
For the record, targlets are described here: https://wiki.eclipse.org/Oomph_Targlets While it is possible to support targelts you should first consider how some specifics are handeled:
Beside from that, if you simply want tycho to resolve it might not be necessary to add support for all of this. Maybe Ed can give some more insights... At least you have the following options to give more priority on this this:
|
Beta Was this translation helpful? Give feedback.
-
Hello folks,
I maintain a target platform definition as a Targlet in an Oomph setup. My targlet is equipped with an annotation that triggers the generation of a plain .target file containing InstallableUnit locations that Tycho happily consumes.
Recently I have had to add a Maven dependency to my target platform. Oomph targlets do not support Maven repositories so I could not add that to the Oomph setup directly.
Instead, with the m2e PDE Integration I was able to craft a .target file outside the Oomph setup where I combined a location with
type="Maven"
and a location withtype="Targlet"
. This gave me a correct target platform in Eclipse, but not in Tycho because it does not support the Targlet location type.Has the support for Targlets in Tycho target platform resolution been considered so far? Do we have a sense of the feasibility?
I currently have the workaround of maintaining the .target file with
Maven
andInstallableUnit
locations. But that format is less efficient than Oomph targlets which have faster resolution and reuse the common plugin pool shared by all Eclipse installations.And finally, does anyone have other ideas on how I might add a Maven dependency to an Oomph-defined target platform?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions