Author: scabanovich
Date: 2011-03-16 18:06:11 -0400 (Wed, 16 Mar 2011)
New Revision: 29833
Modified:
branches/jbosstools-3.2.x/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:
branches/jbosstools-3.2.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java
===================================================================
---
branches/jbosstools-3.2.x/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)
+++
branches/jbosstools-3.2.x/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java 2011-03-16
22:06:11 UTC (rev 29833)
@@ -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;