geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r314903 - /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/DeploymentPlanCreationOperation.java
Date Wed, 12 Oct 2005 13:47:01 GMT
Author: sppatel
Date: Wed Oct 12 06:47:00 2005
New Revision: 314903

URL: http://svn.apache.org/viewcvs?rev=314903&view=rev
Log:
register no prefix ns

Modified:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/DeploymentPlanCreationOperation.java

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/DeploymentPlanCreationOperation.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/DeploymentPlanCreationOperation.java?rev=314903&r1=314902&r2=314903&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/DeploymentPlanCreationOperation.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/DeploymentPlanCreationOperation.java
Wed Oct 12 06:47:00 2005
@@ -101,6 +101,8 @@
                 .createDocumentRoot();
         ApplicationType root = ApplicationFactory.eINSTANCE
                 .createApplicationType();
+               
+        documentRoot.getXMLNSPrefixMap().put("", "http://geronimo.apache.org/xml/ns/j2ee/application-1.0");
 
         root.setApplicationName(getComponentName());
         root.setConfigId(getProject().getName() + "/" + getComponentName());
@@ -123,6 +125,9 @@
 
         Resource resource = resourceSet.createResource(uri);
         DocumentRoot documentRoot = WebFactory.eINSTANCE.createDocumentRoot();
+                      
+        documentRoot.getXMLNSPrefixMap().put("", "http://geronimo.apache.org/xml/ns/j2ee/web-1.0");
+        
         WebAppType root = WebFactory.eINSTANCE.createWebAppType();
 
         root.setConfigId(getProject().getName() + "/" + getComponentName());
@@ -148,6 +153,8 @@
         org.openejb.xml.ns.openejb.jar.DocumentRoot documentRoot = JarFactory.eINSTANCE
                 .createDocumentRoot();
         OpenejbJarType root = JarFactory.eINSTANCE.createOpenejbJarType();
+                    
+        documentRoot.getXMLNSPrefixMap().put("", "http://www.openejb.org/xml/ns/openejb-jar-2.0");
 
         root.setConfigId(getProject().getName() + "/" + getComponentName());
 
@@ -170,7 +177,9 @@
         org.apache.geronimo.xml.ns.j2ee.connector.DocumentRoot documentRoot = ConnectorFactory.eINSTANCE
                 .createDocumentRoot();
         ConnectorType root = ConnectorFactory.eINSTANCE.createConnectorType();
-
+                        
+        documentRoot.getXMLNSPrefixMap().put("", "http://geronimo.apache.org/xml/ns/j2ee/connector-1.0");
+        
         root.setConfigId(getProject().getName() + "/" + getComponentName());
 
         documentRoot.setConnector(root);



Mime
View raw message