Author: dgolovin
Date: 2007-09-26 15:40:35 -0400 (Wed, 26 Sep 2007)
New Revision: 3823
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-951
i've forsed update for WTP model during installing Seam Facet
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java 2007-09-26
19:05:12 UTC (rev 3822)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetInstallDelegete.java 2007-09-26
19:40:35 UTC (rev 3823)
@@ -319,6 +319,7 @@
AntCopyUtils.copyFileToFolder(new File(seamGenResFolder,"seam.properties"),
srcFolder, true);
IContainer source = srcRootFolder.getUnderlyingFolder();
+ srcRootFolder.delete(IVirtualFolder.FORCE, monitor);
WtpUtils.createSourceFolder(project, new
Path(source.getFullPath().lastSegment()+"/action"),new
Path(source.getFullPath().lastSegment()));
WtpUtils.createSourceFolder(project, new
Path(source.getFullPath().lastSegment()+"/model"),new
Path(source.getFullPath().lastSegment()));