Author: dgolovin
Date: 2007-11-19 00:27:15 -0500 (Mon, 19 Nov 2007)
New Revision: 4960
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/project/facet/PostInstallJsfFacetDelegate.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1328
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/project/facet/PostInstallJsfFacetDelegate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/project/facet/PostInstallJsfFacetDelegate.java 2007-11-17
01:41:04 UTC (rev 4959)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/project/facet/PostInstallJsfFacetDelegate.java 2007-11-19
05:27:15 UTC (rev 4960)
@@ -44,7 +44,7 @@
IVirtualFolder webRootFolder = com.getRootFolder().getFolder(new Path("/"));
IContainer folder = webRootFolder.getUnderlyingFolder();
- webContent = folder.getLocation().lastSegment();
+ webContent = folder.getFullPath().removeFirstSegments(1).toString();
if(webContent == null) {
webContent = "WebContent";