Author: akazakov
Date: 2007-10-24 10:01:06 -0400 (Wed, 24 Oct 2007)
New Revision: 4461
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1168 Igore Resource is out of sync with the file
system during validation
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java 2007-10-24
13:52:03 UTC (rev 4460)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamELValidator.java 2007-10-24
14:01:06 UTC (rev 4461)
@@ -126,7 +126,8 @@
try {
content = FileUtil.readStream(file.getContents());
} catch (CoreException e) {
- SeamCorePlugin.getDefault().logError(SeamCoreMessages.SEAM_EL_VALIDATOR_ERROR_VALIDATING_SEAM_EL,
e);
+ // It could be because of resource is out of sync with the file system
+ // Just ignore this.
return;
}
if(ext.equalsIgnoreCase("java")) { //$NON-NLS-1$