Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Can one define the target platform as a project specific setting?
Can one define the target platform as a project specific setting? [message #325412] Mon, 18 February 2008 10:53 Go to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
I am working on a couple of different projects between which I need to
shift back and forth rather frequently, lately.
Some of these use specific target platforms and I again and again
forget, to first change that in Preferences => Plug-in Development =>
Target Platforms.

The first rebuild then of course always ends in "all red", i.e. missing
packages and imports all over the places, just to remind me that I again
forgot to pick the correct runtime first.

Can't one somehow tie that to the project, i.e. make the target platform
a project specific settings (just like e.g. compiler preferences), such
that each project is automatically compiled and built against its
specific runtime?

Is that already available or will I have to file a bugzilla?

Michael
Re: Can one define the target platform as a project specific setting? [message #325414 is a reply to message #325412] Mon, 18 February 2008 11:06 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Michael Moser wrote:
> I am working on a couple of different projects between which I need to
> shift back and forth rather frequently, lately.
> Some of these use specific target platforms and I again and again
> forget, to first change that in Preferences => Plug-in Development =>
> Target Platforms.
>
> The first rebuild then of course always ends in "all red", i.e.
> missing packages and imports all over the places, just to remind me
> that I again forgot to pick the correct runtime first.
>
> Can't one somehow tie that to the project, i.e. make the target
> platform a project specific settings (just like e.g. compiler
> preferences), such that each project is automatically compiled and
> built against its specific runtime?
This is currently no possible, but if your projects correctly specify
the require-dependencies (i.e. the version constraints) then you could
simply put your different platforms into the same location.

Dani
>
> Is that already available or will I have to file a bugzilla?
>
> Michael
>
Re: Can one define the target platform as a project specific setting? [message #325419 is a reply to message #325414] Mon, 18 February 2008 12:48 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Hi Dani,
thanks for the answer,

Daniel Megert wrote:
>> ..
> This is currently no possible, but if your projects correctly specify
> the require-dependencies (i.e. the version constraints) then you could
> simply put your different platforms into the same location.

You mean like a big target runtime hodgepodge, into which one copies
together all runtimes ever used? Njaaa, I must admit, I don't like that
idea too much.

OK - that mess would be just used for development but I fear, that
would that make it just too easy, to accidentally reference something
that's then not available at runtime.

Michael
Re: Can one define the target platform as a project specific setting? [message #325432 is a reply to message #325419] Mon, 18 February 2008 17:03 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Michael Moser wrote:
> Hi Dani,
> thanks for the answer,
>
> Daniel Megert wrote:
>>> ..
>> This is currently no possible, but if your projects correctly specify
>> the require-dependencies (i.e. the version constraints) then you could
>> simply put your different platforms into the same location.
>
> You mean like a big target runtime hodgepodge, into which one copies
> together all runtimes ever used? Njaaa, I must admit, I don't like
> that idea too much.
>
> OK - that mess would be just used for development but I fear, that
> would that make it just too easy, to accidentally reference something
> that's then not available at runtime.
Of course another alternative would be to simply use two different
workspaces.

Dani
>
> Michael
>
Previous Topic:Databinding on FieldEditor
Next Topic:ntlm authentication question
Goto Forum:
  


Current Time: Wed Jul 17 20:40:51 GMT 2024

Powered by FUDForum. Page generated in 0.03366 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top