Author: scabanovich
Date: 2011-03-16 18:04:24 -0400 (Wed, 16 Mar 2011)
New Revision: 29832
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java
Log:
JBIDE-8578
https://issues.jboss.org/browse/JBIDE-8578
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java 2011-03-16
22:02:45 UTC (rev 29831)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java 2011-03-16
22:04:24 UTC (rev 29832)
@@ -71,7 +71,7 @@
}
private boolean isWeldJar(String fileName) {
- if(!fileName.startsWith("weld-")) return false;
+ if(!fileName.startsWith("weld-") &&
fileName.indexOf("-weld") < 0) return false;
if(fileName.startsWith("weld-extensions")) return false;
if(fileName.indexOf("-javadoc") > 0) return false;
if(fileName.indexOf("-sources") > 0) return false;