mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Save managedBuildInfo before closing project
This commit is contained in:
parent
c733971c61
commit
610f6d0dac
1 changed files with 3 additions and 0 deletions
|
@ -648,6 +648,9 @@ public class ManagedBuildMacrosTests extends TestCase {
|
||||||
assertTrue(addMacro(TO_SAVE_W, IBuildMacro.VALUE_TEXT, TO_SAVE_W,
|
assertTrue(addMacro(TO_SAVE_W, IBuildMacro.VALUE_TEXT, TO_SAVE_W,
|
||||||
IBuildMacroProvider.CONTEXT_WORKSPACE, worksp));
|
IBuildMacroProvider.CONTEXT_WORKSPACE, worksp));
|
||||||
try {
|
try {
|
||||||
|
// Save the buildinfo, and then remove it, to be complete
|
||||||
|
ManagedBuildManager.saveBuildInfo(proj, true);
|
||||||
|
ManagedBuildManager.removeBuildInfo(proj);
|
||||||
proj.close(null);
|
proj.close(null);
|
||||||
proj.open(null);
|
proj.open(null);
|
||||||
} catch (CoreException e) {
|
} catch (CoreException e) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue