From f1a62f0fe3948a2a2f3b45cb315d67fbb0104442 Mon Sep 17 00:00:00 2001 From: Anton Gorenkov Date: Mon, 2 Apr 2012 10:23:31 -0700 Subject: [PATCH] Bug 375814 - Implement the Eclipse variables to obtain CDT configuration name and description for the specified project --- core/org.eclipse.cdt.core/plugin.properties | 4 +- core/org.eclipse.cdt.core/plugin.xml | 16 +++++++ .../core/CCorePluginResources.properties | 6 ++- ...figurationDescriptionVariableResolver.java | 20 +++++++++ .../ConfigurationInfoVariableResolver.java | 45 +++++++++++++++++++ .../ConfigurationNameVariableResolver.java | 20 +++++++++ 6 files changed, 109 insertions(+), 2 deletions(-) create mode 100644 core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/ConfigurationDescriptionVariableResolver.java create mode 100644 core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/ConfigurationInfoVariableResolver.java create mode 100644 core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/core/ConfigurationNameVariableResolver.java diff --git a/core/org.eclipse.cdt.core/plugin.properties b/core/org.eclipse.cdt.core/plugin.properties index 58aae223c1e..05f9ed7440a 100644 --- a/core/org.eclipse.cdt.core/plugin.properties +++ b/core/org.eclipse.cdt.core/plugin.properties @@ -104,7 +104,9 @@ cxxHeaderName=C++ Header File asmSourceName=Assembly Source File binaryFileName=Binary File -cdt_pathentry_var.description=CDT PathEntry Variable +cdt_pathentry_var.description=CDT PathEntry variable +config_name_var.description=The name of the active configuration for the project specified as an argument +config_description_var.description=The description of the active configuration for the project specified as an argument PDOMProviderName=PDOM Provider diff --git a/core/org.eclipse.cdt.core/plugin.xml b/core/org.eclipse.cdt.core/plugin.xml index c4e1a386479..f58003a9329 100644 --- a/core/org.eclipse.cdt.core/plugin.xml +++ b/core/org.eclipse.cdt.core/plugin.xml @@ -588,6 +588,22 @@ description="%cdt_pathentry_var.description"> + + + + + + + +