Can one define the target platform as a project specific setting? [message #325412] |
Mon, 18 February 2008 05:53  |
Eclipse User |
|
|
|
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 #325432 is a reply to message #325419] |
Mon, 18 February 2008 12:03  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03560 seconds