1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

1. Follow-up for fix for [Bug 188764] make it posible to apply the "isCDTProjectCreating" ICProjectDescription with no configurations

2. test for the above functionality
This commit is contained in:
Mikhail Sennikovsky 2007-06-08 17:50:12 +00:00
parent 9c79058aad
commit f535244b89
2 changed files with 2 additions and 2 deletions

View file

@ -124,7 +124,7 @@ public class CProjectDescriptionBasicTests extends BaseTestCase{
}
public void remove_prefix_testSetInvalidCreatingDescription() throws Exception {
public void testSetInvalidCreatingDescription() throws Exception {
IWorkspace wsp = ResourcesPlugin.getWorkspace();
IWorkspaceRoot root = wsp.getRoot();

View file

@ -326,7 +326,7 @@ public class CConfigBasedDescriptorManager implements ICDescriptorManager {
throw ExceptionFactory.createCoreException(CCorePlugin.getResourceString("CConfigBasedDescriptorManager.4")); //$NON-NLS-1$
dr = new CConfigBasedDescriptor(cfgDes);
} else {
} else if (!des.isCdtProjectCreating()){
throw ExceptionFactory.createCoreException(CCorePlugin.getResourceString("CConfigBasedDescriptorManager.5")); //$NON-NLS-1$
}
}