Index: C:/Documents and Settings/glory/RedHat-3.4/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/JBossESBFacetDataModelProvider.java =================================================================== --- C:/Documents and Settings/glory/RedHat-3.4/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/JBossESBFacetDataModelProvider.java (revision 14539) +++ C:/Documents and Settings/glory/RedHat-3.4/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/JBossESBFacetDataModelProvider.java (working copy) @@ -31,6 +31,7 @@ names.add(RUNTIME_ID); names.add(RUNTIME_HOME); names.add(RUNTIME_IS_SERVER_SUPPLIED); + names.add(IJBossESBFacetDataModelProperties.ESB_CONFIG_VERSION); return names; } Index: C:/Documents and Settings/glory/RedHat-3.4/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/JBossESBFacetInstallationDelegate.java =================================================================== --- C:/Documents and Settings/glory/RedHat-3.4/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/JBossESBFacetInstallationDelegate.java (revision 14539) +++ C:/Documents and Settings/glory/RedHat-3.4/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/JBossESBFacetInstallationDelegate.java (working copy) @@ -111,20 +111,18 @@ private IFile createJBossESBXML(IFolder folder) throws CoreException{ StringBuffer emptyESB = new StringBuffer(); + String configVersion = model.getStringProperty(IJBossESBFacetDataModelProperties.ESB_CONFIG_VERSION); emptyESB.append(""); emptyESB.append("\n"); - emptyESB.append(""); + emptyESB.append(""); emptyESB.append("\n"); emptyESB.append(""); IFile esbfile = folder.getFile("jboss-esb.xml"); esbfile.create(new ByteArrayInputStream(emptyESB.toString().getBytes()), true, null); return esbfile; - } - + } - - private void createProjectStructure(IProject project) throws CoreException{ String strContentFolder = model.getStringProperty(IJBossESBFacetDataModelProperties.ESB_CONTENT_FOLDER); project.setPersistentProperty(IJBossESBFacetDataModelProperties.QNAME_ESB_CONTENT_FOLDER, strContentFolder); Index: C:/Documents and Settings/glory/RedHat-3.4/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/IJBossESBFacetDataModelProperties.java =================================================================== --- C:/Documents and Settings/glory/RedHat-3.4/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/IJBossESBFacetDataModelProperties.java (revision 14539) +++ C:/Documents and Settings/glory/RedHat-3.4/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/IJBossESBFacetDataModelProperties.java (working copy) @@ -23,6 +23,8 @@ public static final String ESB_CONTENT_FOLDER = "JBoss.Project.Content_Folder"; public static final String ESB_SOURCE_FOLDER = "JBoss.Project.Src_Folder"; + public static final String ESB_CONFIG_VERSION = "JBoss.Project.Config_Version"; + public static final QualifiedName QNAME_ESB_CONTENT_FOLDER = new QualifiedName("jboss", ESB_CONTENT_FOLDER); public static final QualifiedName QNAME_ESB_SRC_FOLDER = new QualifiedName("jboss", ESB_SOURCE_FOLDER);