diff options
author | Mikhail Sennikovsky | 2007-02-28 12:14:49 +0000 |
---|---|---|
committer | Mikhail Sennikovsky | 2007-02-28 12:14:49 +0000 |
commit | 1d087b260fd010ba06fb07bc5b917f92d7050a28 (patch) | |
tree | 2e7259faff282e9b10efeae605debfc4d751d453 /core | |
parent | 258757431cd240f5ff4728b99d88a2c80b1a44ac (diff) | |
download | org.eclipse.cdt-1d087b260fd010ba06fb07bc5b917f92d7050a28.tar.gz org.eclipse.cdt-1d087b260fd010ba06fb07bc5b917f92d7050a28.tar.xz org.eclipse.cdt-1d087b260fd010ba06fb07bc5b917f92d7050a28.zip |
Workspace variable serialization in case they are modified withPath Entry Variable info on load
Diffstat (limited to 'core')
-rw-r--r-- | core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/cdtvariables/UserDefinedVariableSupplier.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/cdtvariables/UserDefinedVariableSupplier.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/cdtvariables/UserDefinedVariableSupplier.java index a2e500961f5..527d887080f 100644 --- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/cdtvariables/UserDefinedVariableSupplier.java +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/cdtvariables/UserDefinedVariableSupplier.java @@ -486,6 +486,13 @@ public class UserDefinedVariableSupplier extends CoreMacroSupplierBase { //now load PathEntry Variables from preferences loadPathEntryVariables(macros); + if(macros.isDirty()){ + try { + storeWorkspaceMacros(macros, true); + } catch (CoreException e) { + CCorePlugin.log(e); + } + } return macros; } |