|
From: <jbo...@li...> - 2006-06-27 08:51:47
|
Author: mic...@jb...
Date: 2006-06-27 04:51:41 -0400 (Tue, 27 Jun 2006)
New Revision: 4836
Modified:
labs/jbossrules/trunk/drools-ide/src/main/java/org/drools/ide/util/DroolsClasspathContainer.java
Log:
changed to 1.4
Modified: labs/jbossrules/trunk/drools-ide/src/main/java/org/drools/ide/util/DroolsClasspathContainer.java
===================================================================
--- labs/jbossrules/trunk/drools-ide/src/main/java/org/drools/ide/util/DroolsClasspathContainer.java 2006-06-26 22:50:09 UTC (rev 4835)
+++ labs/jbossrules/trunk/drools-ide/src/main/java/org/drools/ide/util/DroolsClasspathContainer.java 2006-06-27 08:51:41 UTC (rev 4836)
@@ -61,7 +61,7 @@
File pluginRoot = new Path(pluginRootString).toFile();
File[] files = pluginRoot.listFiles();
for (int i = 0; i < files.length; i++) {
- if (files[i].getAbsolutePath().contains("org.eclipse.jdt.core_")) {
+ if (files[i].getAbsolutePath().indexOf("org.eclipse.jdt.core_") > -1) {
Path path = new Path(files[i].getAbsolutePath());
list.add(JavaCore.newLibraryEntry(path, path, null));
}
|