Author: scabanovich
Date: 2007-09-14 10:28:14 -0400 (Fri, 14 Sep 2007)
New Revision: 3630
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/JSFWebHelper.java
Log:
JBIDE-903
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/JSFWebHelper.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/JSFWebHelper.java 2007-09-14
13:54:37 UTC (rev 3629)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/JSFWebHelper.java 2007-09-14
14:28:14 UTC (rev 3630)
@@ -17,6 +17,7 @@
import org.jboss.tools.common.meta.action.XActionInvoker;
import org.jboss.tools.common.model.*;
+import org.jboss.tools.common.model.filesystems.impl.FileSystemsImpl;
import org.jboss.tools.common.model.impl.XModelImpl;
import org.jboss.tools.common.model.util.XModelObjectUtil;
import org.jboss.tools.jst.web.model.helpers.WebAppHelper;
@@ -121,6 +122,10 @@
}
public static void getConfigFiles(List<XModelObject> list, Set<XModelObject>
set, XModel model, ConfigFilesData data) {
+ FileSystemsImpl fs = (FileSystemsImpl)model.getByPath("FileSystems");
+ if(fs != null) {
+ fs.updateOverlapped();
+ }
XModelObject webxml = getWebConfig(model);
String[] paths = getCompleteConfigFilesList(webxml, data);
if(paths != null) for (int i = 0; i < paths.length; i++) {