[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.cdt] Re: defaultConfigDataProvider

Chris Recoskie wrote:

Masha_Krol@xxxxxxxxxx wrote:

Hello all,

I'm quite new to CDT, so please, bear with me. I'm attempting to create a new managed C++ project and to supply it with configurations appropriate to executables. The usual Debug and Release configurations appear to be created correctly; however, when I try to open the Properties of the newly created project, the two expected configurations are available in the drop-down along with one other one named "Configuration". Upon being selected, it throws a NullPointerException. Looking in the .cproject file, I'm seeing a storage module with the buildSystemId set to defaultConfigDataProvider named Configuration. When does this get created and how can eliminate it in favour of the two configurationDataProviders?

Thanks in advance,
Masha

I have a vague memory that the perhaps the problem you describe appeared a while ago and was fixed. What build are you using?

===========================

Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto
http://www.eclipse.org/cdt

Thanks for answering, Chris; I'm using:

Eclipse C/C++ Development Tools SDK

Version: 4.0.0.200705111955
Build id: 200705111955

I've since fixed the problem by using createCDTProject and setting the project description after creating the configurations I needed, instead of createCProject, which was creating that default configuration right away and then adding my configurations.

Masha