Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] What packaging to use for a myapp.target project?

FYI, Tycho does support multiple targets per module, whereas Eclipse PDE only supports one target per workspace [1]. That said, I usually create a target platform by mirroring required artifacts from several repos into a new place, and then point both Tycho and PDE to it. I also think it does not matter which plugins you have installed in the eclipse itself as everything is resolved against your target platform anyway.

[1] https://wiki.eclipse.org/Tycho/Target_Platform#Target_platform_configuration

Kind regards,
Mikhail Kalkov

Eclipse Developer | Purple Scout AB | www.purplescout.com
Kyrkogatan 20-22, SE-41110 Gothenburg, Sweden


On Thu, May 22, 2014 at 10:18 PM, Steinar Bang <sb@xxxxxx> wrote:
>>>>> Steinar Bang <sb@xxxxxx>:
>>>>> Steinar Bang <sb@xxxxxx>:

>> I clicked on "Set as Target Platform" in the eclipse target file
>> editor, and the unable to resolve errors went away.

> Not sure if this was the right thing to do, though...?  I would have
> liked to do everything in the POM files and have m2e pick it up and
> set up eclipse for me.

As far as I can tell from today's google searches, that won't be the
case: there can only be one target platform setting per workspace:
 Window->Preferences
then
 Plug-in Development->Target Platform

The choices in that property dialog window are the Running Platform, and
all of the projects containing .target files, but there can only be one
selected at any given time.

There is a still-open issue for making it possible to have more than one
target platform definition per workspace, that was almost fixed for
eclipse 3.8, but was dropped for lack of resources:
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=159072

So if you have more than one tycho project with different target
platform requirements living in a single eclipse workspace, the simplest
way to make things build, is to ensure that you have all of the
requirements installed in the eclipse itself.

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top