From 2e0384f9118b1036207bfe912ccceab774481cc2 Mon Sep 17 00:00:00 2001
From: jlanuti <jlanuti>
Date: Thu, 12 Apr 2007 20:36:38 +0000
Subject: [PATCH] updates for JSF and JPA

---
 .../component/adopters/ComponentTeamScanner.java      | 11 ++++++++++-
 .../tools/component/adopters/IComponentConstants.java |  7 ++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/adopters/ComponentTeamScanner.java b/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/adopters/ComponentTeamScanner.java
index 0414c249b..e3b1731ae 100644
--- a/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/adopters/ComponentTeamScanner.java
+++ b/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/adopters/ComponentTeamScanner.java
@@ -146,9 +146,18 @@ public abstract class ComponentTeamScanner implements IComponentConstants {
 		// Create the JEM team with associated plugins
 		ComponentTeam jem = new ComponentTeam(COMPONENT_TEAM_JEM);
 		getPluginComponentMap().put(PLUGIN_EXPRESSION_JEM,jem);
-		getPluginComponentMap().put(PLUGIN_EXPRESSION_JEM_,jem);
 		componentTeams.add(jem);
 		
+		// Create the JSF team with associated plugins
+		ComponentTeam jsf = new ComponentTeam(COMPONENT_TEAM_JSF);
+		getPluginComponentMap().put(PLUGIN_EXPRESSION_JSF,jsf);
+		componentTeams.add(jsf);
+		
+		// Create the JPA team with associated plugins
+		ComponentTeam jpa = new ComponentTeam(COMPONENT_TEAM_JPA);
+		getPluginComponentMap().put(PLUGIN_EXPRESSION_JPA,jpa);
+		componentTeams.add(jpa);
+		
 		// Add a "team" for the unknown references
 		ComponentTeam unknown = new ComponentTeam(COMPONENT_TEAM_UNKNOWN);
 		componentTeams.add(unknown);
diff --git a/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/adopters/IComponentConstants.java b/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/adopters/IComponentConstants.java
index b269d38fb..cb1e25aa0 100644
--- a/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/adopters/IComponentConstants.java
+++ b/archive/releng.builder/tools/apitools/org.eclipse.wtp.releng.tools.component.core/src/org/eclipse/wtp/releng/tools/component/adopters/IComponentConstants.java
@@ -22,6 +22,8 @@ public interface IComponentConstants {
 	public static final String COMPONENT_TEAM_WEB_SERVICES = "Web Services"; //$NON-NLS-1$
 	public static final String COMPONENT_TEAM_SERVER = "Server"; //$NON-NLS-1$
 	public static final String COMPONENT_TEAM_JEM = "Jem"; //$NON-NLS-1$
+	public static final String COMPONENT_TEAM_JSF = "JSF"; //$NON-NLS-1$
+	public static final String COMPONENT_TEAM_JPA = "JPA"; //$NON-NLS-1$
 	public static final String COMPONENT_TEAM_UNKNOWN = "Unknown"; //$NON-NLS-1$
 	
 	// General Expressions for plugin name matching
@@ -52,6 +54,9 @@ public interface IComponentConstants {
 	public static final String PLUGIN_EXPRESSION_INTERNET = "org.eclipse..st.internet.*"; //$NON-NLS-1$
 	
 	public static final String PLUGIN_EXPRESSION_JEM = "org.eclipse.jem.*"; //$NON-NLS-1$
-	public static final String PLUGIN_EXPRESSION_JEM_ = "org.eclipse.jem"; //$NON-NLS-1$
+	
+	public static final String PLUGIN_EXPRESSION_JSF = "org.eclipse.jst.jsf.*"; //$NON-NLS-1$
+	
+	public static final String PLUGIN_EXPRESSION_JPA = "org.eclipse.jpa.*"; //$NON-NLS-1$
 	
 }
-- 
GitLab