Author: akazakov
Date: 2011-01-03 08:33:42 -0500 (Mon, 03 Jan 2011)
New Revision: 27840
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java
Log:
https://issues.jboss.org/browse/JBIDE-8019 Exclude weld-extensions*.jar from lib
scanning.
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 2010-12-30
20:54:31 UTC (rev 27839)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/scanner/lib/ClassPathMonitor.java 2011-01-03
13:33:42 UTC (rev 27840)
@@ -72,6 +72,7 @@
private boolean isWeldJar(String fileName) {
if(!fileName.startsWith("weld-")) return false;
+ if(fileName.startsWith("weld-extensions")) return false;
if(fileName.indexOf("-javadoc") > 0) return false;
if(fileName.indexOf("-sources") > 0) return false;
return true;