Author: scabanovich
Date: 2007-08-27 08:04:36 -0400 (Mon, 27 Aug 2007)
New Revision: 3346
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/InnerModelHelper.java
Log:
JBIDE-850
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/InnerModelHelper.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/InnerModelHelper.java 2007-08-27
12:03:49 UTC (rev 3345)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/InnerModelHelper.java 2007-08-27
12:04:36 UTC (rev 3346)
@@ -45,21 +45,22 @@
IFolder webInfFolder = ResourcesPlugin.getWorkspace().getRoot().getFolder(webInfPath);
model.getProperties().setProperty(XModelConstants.WORKSPACE,
webInfFolder.getLocation().toString());
+ model.getProperties().setProperty(XModelConstants.WORKSPACE_OLD,
webInfFolder.getLocation().toString());
XModelObject fs = model.getByPath("FileSystems");
webinf = model.createModelObject("FileSystemFolder", null);
webinf.setAttributeValue("name", "WEB-INF");
- webinf.setAttributeValue("location", "%redhat.workspace%");
+ webinf.setAttributeValue("location", XModelConstants.WORKSPACE_REF);
fs.addChild(webinf);
XModelObject webroot = model.createModelObject("FileSystemFolder", null);
webroot.setAttributeValue("name", "WEB-ROOT");
- webroot.setAttributeValue("location", "%redhat.workspace%/..");
+ webroot.setAttributeValue("location", XModelConstants.WORKSPACE_REF +
"/..");
fs.addChild(webroot);
XModelObject lib = model.createModelObject("FileSystemFolder", null);
lib.setAttributeValue("name", "lib");
- lib.setAttributeValue("location", "%redhat.workspace%/lib");
+ lib.setAttributeValue("location", XModelConstants.WORKSPACE_REF +
"/lib");
fs.addChild(lib);
return model;
Show replies by date