Author: scabanovich
Date: 2012-06-22 18:21:40 -0400 (Fri, 22 Jun 2012)
New Revision: 42184
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/DefinitionContext.java
Log:
JBIDE-12246
https://issues.jboss.org/browse/JBIDE-12246
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/DefinitionContext.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/DefinitionContext.java 2012-06-22
22:02:24 UTC (rev 42183)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/definition/DefinitionContext.java 2012-06-22
22:21:40 UTC (rev 42184)
@@ -394,6 +394,10 @@
project.getDelegate().update(true);
workingCopy = null;
+
+ if(!project.getProject().isAccessible()) {
+ clean();
+ }
}
public void dropWorkingCopy() {