Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Defaults in Aggregator file: values change possibly unintentional
Defaults in Aggregator file: values change possibly unintentional [message #519482] Mon, 08 March 2010 23:23 Go to next message
Bernhard Merkle is currently offline Bernhard MerkleFriend
Messages: 88
Registered: July 2009
Member
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 06:38 Go to previous message
Filip Hrbek is currently offline Filip HrbekFriend
Messages: 233
Registered: July 2009
Senior Member
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.
Previous Topic:'remembering' problem
Next Topic:Getting components from Maven
Goto Forum:
  


Current Time: Sun Jul 25 10:41:20 GMT 2021

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

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

Back to the top