Defaults in Aggregator file: values change possibly unintentional [message #519482] |
Mon, 08 March 2010 18:23  |
Eclipse User |
|
|
|
Hi again,
I was a bit puzzled about the handling of defaults in aggregator files:
assume:
<configurations/>
<configurations operatingSystem="linux" windowSystem="gtk"/>
which results on my machine in: (according to the GUI tree/aggregator editor
<configurations operatingSystem="win32" windowSystem="win32"
architecture="x86">
<configurations operatingSystem="linux" windowSystem="gtk"
architecture="x86"/>
now the problem with the default is that is can change unintentionally,
depending on which OS, platform etc you run the build.
is this really intended ??
I assumed from the GUI tree/aggregator editor that I definitely _have_ a
win32 build, however it is _just_ the default which can change anytime I
switch my build machine... this is quite risky IMO.
We should at least visualize in the tree editor if there is a default,
e.g. via a special color.
what do you think ?
should I file a bugzilla ?
thanks,
Berni.
|
|
|
Re: Defaults in Aggregator file: values change possibly unintentional [message #519512 is a reply to message #519482] |
Tue, 09 March 2010 01:38  |
Eclipse User |
|
|
|
Hi Berni,
the configuration
<configurations/>
is always really the same as
<configurations operatingSystem="win32" windowSystem="win32" architecture="x86"/>
regardless which machine it runs on. The default is specified with the platform independent EMF model.
What you see in the UI is what you really get in the runtime on any platform.
Regards
Filip
Bernhard Merkle wrote:
> Hi again,
>
> I was a bit puzzled about the handling of defaults in aggregator files:
>
> assume:
> <configurations/>
> <configurations operatingSystem="linux" windowSystem="gtk"/>
>
> which results on my machine in: (according to the GUI tree/aggregator
> editor
> <configurations operatingSystem="win32" windowSystem="win32"
> architecture="x86">
> <configurations operatingSystem="linux" windowSystem="gtk"
> architecture="x86"/>
>
>
> now the problem with the default is that is can change unintentionally,
> depending on which OS, platform etc you run the build.
> is this really intended ??
>
> I assumed from the GUI tree/aggregator editor that I definitely _have_ a
> win32 build, however it is _just_ the default which can change anytime I
> switch my build machine... this is quite risky IMO.
>
> We should at least visualize in the tree editor if there is a default,
> e.g. via a special color.
>
> what do you think ?
>
> should I file a bugzilla ?
>
> thanks,
> Berni.
|
|
|
Powered by
FUDForum. Page generated in 0.02920 seconds