[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] IConfiguration vs ICConfigurationDescription

Hi Andras.

Sorry for delay, I was on vacation till today.
I hope you've solved your problem yourself by now.
But, may be, some comments are not too late.

So, ICConfigurationDescription represents configuration in CDT core
and IConfiguration represents configuration in CDT build system level.

While only one CDT core implementation exists, there may be a lot of
different build systems. Existing Managed Build System is only one 
among other ones.

ICConfigurationDescription, in principle, does not know about
specific features implemented by IConfiguration instances. So we should
change "common" properties in ICConfigurationDescription, and build
related properties in IConfiguration implementor. When
called, both changes would be applied.
With best regards, Oleg Krasilnikov


-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Andras Varga
Sent: Friday, December 14, 2007 11:36 AM
To: 'CDT General developers list.'
Subject: [cdt-dev] IConfiguration vs ICConfigurationDescription

What is the relationship of IConfiguration vs

My guess: ICConfigurationDescription is used to represent contents the
".cproject" file (ie one config in it) in the memory, while
IConfiguration is "live" data used by the CDT at runtime.

When I change IConfiguration, does the corresponding
ICConfigurationDescription change as well? A recent code example posted
by Oleg Krasilnikov seems to indicate that: 

IConfiguration cfg =
IBuilder bldr = cfg.getEditableBuilder(); // change IBuilder
CoreModel.getDefault().setProjectDescription(project, prjd);


cdt-dev mailing list
Closed Joint Stock Company Intel A/O
Registered legal address: 125252, Moscow, Russian Federation, 
Chapayevsky Per, 14.

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.