1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Save managedBuildInfo before closing project

This commit is contained in:
Leo Treggiari 2005-07-10 03:20:31 +00:00
parent c733971c61
commit 610f6d0dac

View file

@ -648,6 +648,9 @@ public class ManagedBuildMacrosTests extends TestCase {
assertTrue(addMacro(TO_SAVE_W, IBuildMacro.VALUE_TEXT, TO_SAVE_W,
IBuildMacroProvider.CONTEXT_WORKSPACE, worksp));
try {
// Save the buildinfo, and then remove it, to be complete
ManagedBuildManager.saveBuildInfo(proj, true);
ManagedBuildManager.removeBuildInfo(proj);
proj.close(null);
proj.open(null);
} catch (CoreException e) {