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?

>>>>> 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.



Back to the top