Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Treggiari2005-07-09 23:20:31 -0400
committerLeo Treggiari2005-07-09 23:20:31 -0400
commit610f6d0daca723370d76133c3f9d6ea41f35390c (patch)
tree707a09177392e719b5d6627601e4761711f4d158
parentc733971c6173efa3351d71b349b18b10c8459e62 (diff)
downloadorg.eclipse.cdt-610f6d0daca723370d76133c3f9d6ea41f35390c.tar.gz
org.eclipse.cdt-610f6d0daca723370d76133c3f9d6ea41f35390c.tar.xz
org.eclipse.cdt-610f6d0daca723370d76133c3f9d6ea41f35390c.zip
Save managedBuildInfo before closing project
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/ManagedBuildMacrosTests.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/ManagedBuildMacrosTests.java b/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/ManagedBuildMacrosTests.java
index 5ca9c739fc..144c6f66f5 100644
--- a/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/ManagedBuildMacrosTests.java
+++ b/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/ManagedBuildMacrosTests.java
@@ -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) {

Back to the top