Author: scabanovich
Date: 2011-07-27 13:28:53 -0400 (Wed, 27 Jul 2011)
New Revision: 33261
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java
Log:
JBIDE-9412
https://issues.jboss.org/browse/JBIDE-9412
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java 2011-07-27
17:28:01 UTC (rev 33260)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICoreBuilder.java 2011-07-27
17:28:53 UTC (rev 33261)
@@ -158,7 +158,8 @@
//2. Update class path. Removed paths will be cached to be applied to working copy of
context.
n.getClassPath().setSrcs(getResourceVisitor().srcs);
newJars = n.getClassPath().process();
-
+ }
+ if(isClassPathUpdated || buildParticipants == null) {
//3. Install extensions. That should be done before constructing working copy of
context.
buildParticipants = n.getExtensionManager().getBuildParticipantFeature();
buildParticipants2 = new HashSet<IBuildParticipant2Feature>();