Author: scabanovich
Date: 2012-04-27 20:48:19 -0400 (Fri, 27 Apr 2012)
New Revision: 40606
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java
Log:
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java 2012-04-28
00:29:13 UTC (rev 40605)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/util/EclipseResourceUtil.java 2012-04-28
00:48:19 UTC (rev 40606)
@@ -695,7 +695,7 @@
IClasspathEntry[] es = null;
for (int i = 0; i < es0.length && es == null; i++) {
if(es0[i].getEntryKind() == IClasspathEntry.CPE_CONTAINER &&
- es0[i].getPath().toString().equals("org.eclipse.jdt.launching.JRE_CONTAINER"))
{ //$NON-NLS-1$
+ es0[i].getPath().toString().startsWith("org.eclipse.jdt.launching.JRE_CONTAINER"))
{ //$NON-NLS-1$
IClasspathContainer container = JavaCore.getClasspathContainer(es0[i].getPath(),
javaProject);
if(container == null) continue;
es = container.getClasspathEntries();