Map Eclipse projects.

Change-Id: I7e1caca22b7ae12403dd1d5d406a4ba93d5f152a
diff --git a/classes/common.php b/classes/common.php
index fa7df6b..4ddb299 100644
--- a/classes/common.php
+++ b/classes/common.php
@@ -420,16 +420,24 @@
 			'*/*/org.eclipse.dash/*/*' => 'technology.dash',
 			'*/*/org.eclipse.sisu/*/*' => 'technology.sisu',
 
-			'*/*/@theia/*/*' => 'ecd.theia'
+			'*/*/@theia/*/*' => 'ecd.theia',
+
+			'*/*/*/org.eclipse.equinox.*/*' => 'eclipse.equinox',
+			'*/*/*/org.eclipse.osgi.*/*' => 'eclipse.equinox',
+			'*/*/*/org.eclipse.emf/*' => 'modeling.emf.emf',
+			'*/*/*/org.eclipse.emf.*/*' => 'modeling.emf.emf',
+			'*/*/*/org.eclipse.m2e.*/*' => 'technology.m2e',
+			'*/*/*/org.eclipse.xtend.*/*' => 'modeling.tmf.xtext',
+			'*/*/*/org.eclipse.xtext.*/*' => 'technology.m2e'
 
 	);
 
 	// This list is stable, I think. I believe that we can expand this out and
 	// just include it in whatever data source we end up choose to use to represent
 	// this information.
-	$platform = array('platform', 'test', 'releng', 'webdav', 'externaltools', 'rcp', 'core', 'debug', 'help', 'ui', 'sdk', 'team', 'text', 'ltk', 'osgi', 'search', 'compare', 'update', 'ant', 'jface', 'swt', 'jsch', 'cvs', 'tomcat', 'target', 'ftp', 'license');
+	$platform = array('e4', 'platform', 'test', 'releng', 'webdav', 'externaltools', 'rcp', 'core', 'debug', 'help', 'ui', 'sdk', 'team', 'text', 'ltk', 'osgi', 'search', 'compare', 'update', 'ant', 'jface', 'swt', 'jsch', 'cvs', 'tomcat', 'target', 'ftp', 'license');
 	foreach ($platform as $fragment) {
-		$map["*/*/p2.p2-installable-unit/org.eclipse.{$fragment}.*/*"] = 'eclipse.platform';
+		$map["p2/*/*/org.eclipse.{$fragment}.*/*"] = 'eclipse.platform';
 	}
 
 	$parts = explode('/', $id);