geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r233044 [2/33] - in /geronimo/trunk/sandbox/eclipse-plugin: ./ org.apache.geronimo.core/ org.apache.geronimo.core/META-INF/ org.apache.geronimo.core/serverdef/ org.apache.geronimo.core/src/ org.apache.geronimo.core/src/org/ org.apache.geron...
Date Tue, 16 Aug 2005 19:47:05 GMT
Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,123 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.core.internal;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.core.runtime.Path;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jst.server.generic.core.internal.GenericServerRuntimeTargetHandler;
+import org.eclipse.jst.server.generic.core.internal.ServerTypeDefinitionUtil;
+import org.eclipse.jst.server.generic.servertype.definition.ArchiveType;
+import org.eclipse.jst.server.generic.servertype.definition.Classpath;
+import org.eclipse.jst.server.generic.servertype.definition.ServerRuntime;
+import org.eclipse.wst.server.core.IRuntime;
+
+public class GeronimoServerRuntimeTargetHandler extends
+		GenericServerRuntimeTargetHandler {
+	
+	String cachedArchiveString=null;
+	IClasspathEntry[] cachedClasspath=null;
+	
+
+	/* (non-Javadoc)
+	 * @see ClasspathRuntimeTargetHandler#resolveClasspathContainer(IRuntime, java.lang.String)
+	 */
+	public IClasspathEntry[] resolveClasspathContainer(IRuntime runtime,String id){		
+		return getServerClassPathEntry(runtime);
+	}
+	
+	public IClasspathEntry[] getServerClassPathEntry(IRuntime runtime)
+	{
+		ServerRuntime serverDefinition = ServerTypeDefinitionUtil.getServerTypeDefinition(runtime);		
+		String ref = serverDefinition.getProject().getClasspathReference();
+		Classpath cp = serverDefinition.getClasspath(ref);
+		List archives = cp.getArchive();
+		
+		// It's expensive to keep searching directories, so try to cache the result
+		IClasspathEntry[] savedClasspath=getCachedClasspathFor(serverDefinition, archives);
+		if(savedClasspath!=null)
+			return savedClasspath;
+		
+		Iterator archiveIter = archives.iterator();
+		ArrayList entryList = new ArrayList();
+		while (archiveIter.hasNext()) {
+			ArchiveType archive = (ArchiveType) archiveIter.next();
+			String item = serverDefinition.getResolver().resolveProperties(archive.getPath());
+			Path path=new Path(item);
+			File file=path.toFile();
+			if(file.isDirectory())
+			{
+				File[] list=file.listFiles();
+				for(int i=0; i<list.length; i++)
+				{
+					if(!list[i].isDirectory())
+					{
+						Path p=new Path(list[i].getAbsolutePath());
+						IClasspathEntry entry = JavaCore.newLibraryEntry(p,null,null );
+						entryList.add(entry);	
+					}					
+				}
+	
+			}
+			else
+			{
+				IClasspathEntry entry = JavaCore.newLibraryEntry(path,null,null );
+				entryList.add(entry);
+			}
+		}
+		
+		IClasspathEntry[] classpath=(IClasspathEntry[])entryList.toArray(new IClasspathEntry[entryList.size()]);
+		setCachedClasspath(classpath);
+
+		return classpath;
+	}
+
+	private IClasspathEntry[] getCachedClasspathFor(ServerRuntime serverDefinition, List archives) {
+		
+		// Need to iterate through the list, and expand the variables (in case they have changed)
+		// The simplest approach is to construct/cache a string for this
+		// That will still save the overhead of going to the filesystem
+		
+		StringBuffer buffer=new StringBuffer();
+		Iterator archiveIter = archives.iterator();
+		while (archiveIter.hasNext()) {
+			ArchiveType archive = (ArchiveType) archiveIter.next();
+			String item = serverDefinition.getResolver().resolveProperties(archive.getPath());
+			buffer.append(item);
+			buffer.append(File.pathSeparatorChar);
+		}
+		
+		String archiveString=buffer.toString();
+		
+		if(cachedArchiveString != null && cachedArchiveString.equals(archiveString))
+			return cachedClasspath;
+		
+		// This is a cache miss - ensure the data is null (to be safe), but save the key (archiveString) now
+		// The data will be set once it's calculated
+		cachedClasspath=null;
+		cachedArchiveString=archiveString;
+		return null;
+	}
+
+	private void setCachedClasspath(IClasspathEntry[] classpath) {
+		cachedClasspath=classpath;
+	}
+}

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoServerRuntimeTargetHandler.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoUtils.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoUtils.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoUtils.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoUtils.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,214 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.core.internal;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.MalformedURLException;
+
+import javax.enterprise.deploy.shared.ModuleType;
+
+import org.apache.geronimo.xml.ns.web.DocumentRoot;
+import org.apache.geronimo.xml.ns.web.WebAppType;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.ecore.xmi.XMIResource;
+import org.eclipse.jst.j2ee.internal.deployables.J2EEFlexProjDeployable;
+import org.eclipse.jst.server.core.IJ2EEModule;
+import org.eclipse.jst.server.core.IWebModule;
+import org.eclipse.wst.common.componentcore.ArtifactEdit;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.resources.IFlexibleProject;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.server.core.IModule;
+
+public class GeronimoUtils {
+
+	public static String getConfigId(IModule module) {
+
+		String configId = null;
+
+		if (isWebModule(module)) {			
+			WebAppType deploymentPlan = getWebDeploymentPlan(module);
+
+			if (deploymentPlan != null)
+				configId = deploymentPlan.getConfigId();
+
+			if (configId == null)
+				configId = getId(module);
+		} else if (isEjbJarModule(module)) {
+			configId = getId(module);
+		}
+
+		return configId;
+	}
+
+	public static boolean isWebModule(IModule module) {
+		return "j2ee.web".equals(module.getModuleType().getId());
+	}
+
+	public static boolean isEjbJarModule(IModule module) {
+		return "j2ee.ejb".equals(module.getModuleType().getId());
+	}
+
+	public static ModuleType getJSR88ModuleType(IModule module) {
+		if (isWebModule(module)) {
+			return ModuleType.WAR;
+		} else if (isEjbJarModule(module)) {
+			return ModuleType.EJB;
+		}
+		return null;
+	}
+
+	public static String getContextRoot(IModule module) {
+		String contextRoot = null;
+		
+		WebAppType deploymentPlan = getWebDeploymentPlan(module);
+		if (deploymentPlan != null)
+			contextRoot = deploymentPlan.getContextRoot();
+
+		if (contextRoot == null)
+			contextRoot = getId(module);
+
+		return contextRoot;
+	}
+
+	public static String getId(IModule module) {
+		// use the module ID
+		String moduleId = module.getId();
+
+		IJ2EEModule j2eeModule = (IJ2EEModule) module.loadAdapter(IJ2EEModule.class, null);
+		if (j2eeModule != null && j2eeModule instanceof J2EEFlexProjDeployable) {
+			J2EEFlexProjDeployable j2eeFlex = (J2EEFlexProjDeployable) j2eeModule;
+			// j2eeFlex
+			ArtifactEdit edit = null;
+
+			try {
+				edit = ArtifactEdit.getArtifactEditForRead(j2eeFlex.getComponentHandle());
+				XMIResource res = (XMIResource) edit.getContentModelRoot().eResource();
+				moduleId = res.getID(edit.getContentModelRoot());
+			} finally {
+				if (edit != null)
+					edit.dispose();
+			}
+		}
+
+		if (moduleId != null && moduleId.length() > 0)
+			return moduleId;
+
+		// ...but if there is no defined module ID, pick the best alternative
+
+		IPath moduleLocation = j2eeModule.getLocation();
+		if (moduleLocation != null) {
+			moduleId = moduleLocation.removeFileExtension().lastSegment();
+		}
+
+		if (j2eeModule instanceof IWebModule) {
+			// A better choice is to use the context root
+			// For wars most appservers use the module name
+			// as the context root
+			String contextRoot = ((IWebModule) j2eeModule).getContextRoot();
+			if (contextRoot.charAt(0) == '/')
+				moduleId = contextRoot.substring(1);
+		}
+
+		return moduleId;
+	}
+
+	// Temporary workaround - ensure the .deployable copy
+	// of the file is also updated (WTP should be doing this)
+	public static void copyDeploymentPlanToDeployable(IModule module) {
+		IFile planFile = DeploymentPlanCreationOperation.getGeronimoWebDeploymentPlanFile(module);
+		if (planFile.exists()) {
+			try {
+				IJ2EEModule j2eeModule = (IJ2EEModule) module.loadAdapter(IJ2EEModule.class, null);
+				File deployableFile = j2eeModule.getLocation().addTrailingSeparator().append(
+						"WEB-INF").addTrailingSeparator().append(DeploymentPlanCreationOperation.WEB_DEP_PLAN_NAME).toFile();
+				InputStream input = planFile.getContents();
+				FileOutputStream output = new FileOutputStream(deployableFile);
+				byte[] buffer = new byte[1000];
+				int bytesRead = 0;
+				while (bytesRead > -1) {
+					bytesRead = input.read(buffer);
+					if (bytesRead > 0)
+						output.write(buffer, 0, bytesRead);
+				}
+				output.close();
+				input.close();
+			} catch (Exception e) {
+				Trace.trace(Trace.SEVERE, "Error copying deployment plan", e);
+			}
+		}
+	}
+
+	private static Resource load(IFile dpFile) {
+		try {
+			ResourceSet resourceSet = new ResourceSetImpl();
+            DeploymentPlanCreationOperation.registerForWeb(resourceSet);
+				
+			URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+			
+			Resource resource = resourceSet.createResource(uri);
+			if (!resource.isLoaded()) {
+				resource.load(null);
+			}
+			return resource;
+		} catch (MalformedURLException e) {
+			e.printStackTrace();
+		} catch (IOException e) {
+			e.printStackTrace();
+		}
+		return null;
+	}
+    
+    public static WebAppType getWebDeploymentPlan(IFile dpFile) {       
+        if (dpFile.exists()) {
+            Resource resource = load(dpFile);
+            if (resource != null) {
+                return ((DocumentRoot) resource.getContents().get(0)).getWebApp();
+            }
+        } 
+        return null;
+    }
+
+	private static WebAppType getWebDeploymentPlan(IModule module) {
+        IFile dpFile = DeploymentPlanCreationOperation.getGeronimoWebDeploymentPlanFile(module);
+		if (dpFile.exists()) {
+			Resource resource = load(dpFile);
+			if (resource != null) {
+				return ((DocumentRoot) resource.getContents().get(0)).getWebApp();
+			}
+		} else {
+			if (module != null) {
+				return createWebDeploymentPlan(module);
+			}
+		}
+		return null;
+	}
+    
+    private static WebAppType createWebDeploymentPlan(IModule module) {
+        IFlexibleProject flexProject = ComponentCore.createFlexibleProject(module.getProject());
+        IVirtualComponent component = flexProject.getComponent(module.getName());
+        DeploymentPlanCreationOperation op = new DeploymentPlanCreationOperation();
+        return op.createGeronimoWebDeploymentPlan(component);
+    }
+}
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoUtils.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Messages.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Messages.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Messages.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Messages.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.core.internal;
+
+import org.eclipse.osgi.util.NLS;
+/**
+ * Translated messages.
+ */
+public class Messages extends NLS {
+	static {
+		NLS.initializeMessages(GeronimoPlugin.PLUGIN_ID + ".internal.Messages", Messages.class);
+	}
+}
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Messages.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Messages.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Messages.properties?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Messages.properties (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Messages.properties Tue Aug 16 12:46:27 2005
@@ -0,0 +1 @@
+

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Messages.properties
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Trace.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Trace.java?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Trace.java (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Trace.java Tue Aug 16 12:46:27 2005
@@ -0,0 +1,78 @@
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.core.internal;
+/**
+ * Helper class to route trace output.
+ */
+public class Trace {
+	/**
+	 * Config trace event.
+	 */
+	public static byte CONFIG = 0;
+
+	/**
+	 * Warning trace event.
+	 */
+	public static byte WARNING = 1;
+
+	/**
+	 * Severe trace event.
+	 */
+	public static byte SEVERE = 2;
+
+	/**
+	 * Finest trace event.
+	 */
+	public static byte FINEST = 3;
+
+	/**
+	 * Parsing trace event.
+	 */
+	public static byte PARSING = 4;
+
+	/**
+	 * Trace constructor comment.
+	 */
+	private Trace() {
+		super();
+	}
+
+	/**
+	 * Trace the given text.
+	 *
+	 * @param level the trace level
+	 * @param s a message
+	 */
+	public static void trace(byte level, String s) {
+		trace(level, s, null);
+	}
+
+	/**
+	 * Trace the given message and exception.
+	 *
+	 * @param level the trace level
+	 * @param s a message
+	 * @param t a throwable
+	 */
+	public static void trace(byte level, String s, Throwable t) {
+		if (!GeronimoPlugin.getInstance().isDebugging())
+			return;
+
+		System.out.println(GeronimoPlugin.PLUGIN_ID + " " + s);
+		if (t != null)
+			t.printStackTrace();
+	}
+}
\ No newline at end of file

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/Trace.java
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/.classpath
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/.classpath?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/.classpath (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/.classpath Tue Aug 16 12:46:27 2005
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/.classpath
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/.project
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/.project?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/.project (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/.project Tue Aug 16 12:46:27 2005
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.apache.geronimo.deployment.model</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/.project
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/META-INF/MANIFEST.MF?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/META-INF/MANIFEST.MF (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/META-INF/MANIFEST.MF Tue Aug 16 12:46:27 2005
@@ -0,0 +1,25 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Geronimo Deployment Plans Model Plug-in
+Bundle-SymbolicName: org.apache.geronimo.deployment.model; singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.emf.ecore,
+ org.eclipse.emf.ecore.edit,
+ org.eclipse.emf.common,
+ org.eclipse.emf.ecore.xmi
+Eclipse-AutoStart: true
+Export-Package: org.apache.geronimo.xml.ns.deployment,
+ org.apache.geronimo.xml.ns.deployment.impl,
+ org.apache.geronimo.xml.ns.deployment.util,
+ org.apache.geronimo.xml.ns.naming,
+ org.apache.geronimo.xml.ns.naming.impl,
+ org.apache.geronimo.xml.ns.naming.util,
+ org.apache.geronimo.xml.ns.security,
+ org.apache.geronimo.xml.ns.security.impl,
+ org.apache.geronimo.xml.ns.security.util,
+ org.apache.geronimo.xml.ns.web,
+ org.apache.geronimo.xml.ns.web.impl,
+ org.apache.geronimo.xml.ns.web.util
+Bundle-Activator: org.apache.geronimo.xml.model.GeronimoModelPlugin$Implementation

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/build.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/build.properties?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/build.properties (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/build.properties Tue Aug 16 12:46:27 2005
@@ -0,0 +1,13 @@
+bin.includes = META-INF/,\
+               plugin.properties,\
+               plugin.xml,\
+               schema/,\
+               .
+src.includes = .classpath,\
+               .project,\
+               build.properties,\
+               build.xml,\
+               emf/
+jars.compile.order = .
+source.. = src/
+output.. = bin/

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/build.properties
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/emf/deployment.ecore
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/emf/deployment.ecore?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/emf/deployment.ecore (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/emf/deployment.ecore Tue Aug 16 12:46:27 2005
@@ -0,0 +1,391 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+    xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="deployment"
+    nsURI="http://geronimo.apache.org/xml/ns/deployment" nsPrefix="deployment">
+  <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+    <details key="documentation" value="&#xD;&#xA;            Schema for Geronimo Services deployment plans.&#xD;&#xA;            Instance documents should begin with the element:&#xD;&#xA;&#xD;&#xA;            &amp;gt;gbeans xmlns=&quot;http://geronimo.apache.org/xml/ns/deployment&quot;&amp;lt;&#xD;&#xA;        "/>
+  </eAnnotations>
+  <eClassifiers xsi:type="ecore:EClass" name="AttributeType">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="attributeType"/>
+      <details key="kind" value="simple"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="name" value=":0"/>
+        <details key="kind" value="simple"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="name"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="type"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="ConfigurationType">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="configurationType"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="include" upperBound="-1"
+        eType="#//DependencyType" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="include"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="dependency" upperBound="-1"
+        eType="#//DependencyType" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="dependency"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="gbean" upperBound="-1"
+        eType="#//GbeanType" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="gbean"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="configId" unique="false"
+        lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="configId"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="domain" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="domain"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="parentId" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+        <details key="documentation" value="&#xD;&#xA;                You are required to specify either parentId or both domain and server.  domain and server form&#xD;&#xA;                the domain and J2EEServer key for gbeans in this configuration and any descendant configurations.&#xD;&#xA;                "/>
+      </eAnnotations>
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="parentId"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="server" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="server"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="DependencyType">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="dependencyType"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="groupId" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="groupId"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="artifactId" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="artifactId"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="version" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="version"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="uri" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="uri"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value=""/>
+      <details key="kind" value="mixed"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="elementWildcard"/>
+        <details key="name" value=":mixed"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+        eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+        transient="true" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="xmlns:prefix"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+        eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+        transient="true" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="xsi:schemaLocation"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="configuration" upperBound="-2"
+        eType="#//ConfigurationType" volatile="true" transient="true" derived="true"
+        containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="configuration"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="dependency" upperBound="-2"
+        eType="#//DependencyType" volatile="true" transient="true" derived="true"
+        containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="dependency"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="gbean" upperBound="-2"
+        eType="#//GbeanType" volatile="true" transient="true" derived="true" containment="true"
+        resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="gbean"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="GbeanType">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="gbeanType"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="group"/>
+        <details key="name" value="group:0"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="attribute" upperBound="-1"
+        eType="#//AttributeType" volatile="true" transient="true" derived="true" containment="true"
+        resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="attribute"/>
+        <details key="namespace" value="##targetNamespace"/>
+        <details key="group" value="#group:0"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="xmlAttribute" upperBound="-1"
+        eType="#//XmlAttributeType" volatile="true" transient="true" derived="true"
+        containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="xml-attribute"/>
+        <details key="namespace" value="##targetNamespace"/>
+        <details key="group" value="#group:0"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="reference" upperBound="-1"
+        eType="#//ReferenceType" volatile="true" transient="true" derived="true" containment="true"
+        resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="reference"/>
+        <details key="namespace" value="##targetNamespace"/>
+        <details key="group" value="#group:0"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="references" upperBound="-1"
+        eType="#//ReferencesType" volatile="true" transient="true" derived="true"
+        containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="references"/>
+        <details key="namespace" value="##targetNamespace"/>
+        <details key="group" value="#group:0"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="xmlReference" upperBound="-1"
+        eType="#//XmlAttributeType" volatile="true" transient="true" derived="true"
+        containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="xml-reference"/>
+        <details key="namespace" value="##targetNamespace"/>
+        <details key="group" value="#group:0"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="class" unique="false" lowerBound="1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="class"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="gbeanName" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="gbeanName"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="name"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="PatternType">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="patternType"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="domain" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="domain"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="server" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="server"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="application" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="application"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="moduleType" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="moduleType"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="module" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="module"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="type"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="name"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="gbeanName" unique="false"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="gbean-name"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="ReferencesType">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="referencesType"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EReference" name="pattern" lowerBound="1"
+        upperBound="-1" eType="#//PatternType" containment="true" resolveProxies="false">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="element"/>
+        <details key="name" value="pattern"/>
+        <details key="namespace" value="##targetNamespace"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="name"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="ReferenceType" eSuperTypes="#//PatternType">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="referenceType"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name1" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="name"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+  <eClassifiers xsi:type="ecore:EClass" name="XmlAttributeType">
+    <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+      <details key="name" value="xml-attributeType"/>
+      <details key="kind" value="elementOnly"/>
+    </eAnnotations>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="any" unique="false" lowerBound="1"
+        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="elementWildcard"/>
+        <details key="wildcards" value="##other"/>
+        <details key="name" value=":0"/>
+        <details key="processing" value="lax"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+      <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+        <details key="kind" value="attribute"/>
+        <details key="name" value="name"/>
+      </eAnnotations>
+    </eStructuralFeatures>
+  </eClassifiers>
+</ecore:EPackage>

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/emf/deployment.ecore
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/emf/geronimo-web.genmodel
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/emf/geronimo-web.genmodel?rev=233044&view=auto
==============================================================================
--- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/emf/geronimo-web.genmodel (added)
+++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/emf/geronimo-web.genmodel Tue Aug 16 12:46:27 2005
@@ -0,0 +1,298 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+    xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+    xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable."
+    modelDirectory="/org.apache.geronimo.deployment.model/src" editDirectory="/org.apache.geronimo.deployment.model.edit/src"
+    editorDirectory="/org.apache.geronimo.deployment.modeleditor/src" modelPluginID="org.apache.geronimo.deployment.model"
+    templateDirectory="/org.apache.geronimo.deployment.model/templates" dynamicTemplates="true"
+    modelName="Geronimo-web" modelPluginClass="org.apache.geronimo.xml.model.GeronimoModelPlugin"
+    testsDirectory="/org.apache.geronimo.deployment.model/src" importerID="org.eclipse.xsd.ecore.importer">
+  <foreignModel>../schema/geronimo-web.xsd</foreignModel>
+  <genPackages prefix="Naming" basePackage="org.apache.geronimo.xml.ns" resource="XML"
+      disposableProviderFactory="true" ecorePackage="naming.ecore#/">
+    <genClasses ecoreClass="naming.ecore#//CssType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//CssType/domain"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//CssType/server"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//CssType/application"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//CssType/module"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//CssType/type"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//CssType/name"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//DocumentRoot">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute naming.ecore#//DocumentRoot/mixed"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference naming.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference naming.ecore#//DocumentRoot/xSISchemaLocation"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference naming.ecore#//DocumentRoot/cmpConnectionFactory"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference naming.ecore#//DocumentRoot/ejbLocalRef"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference naming.ecore#//DocumentRoot/ejbRef"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference naming.ecore#//DocumentRoot/resourceAdapter"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference naming.ecore#//DocumentRoot/resourceEnvRef"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference naming.ecore#//DocumentRoot/resourceRef"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference naming.ecore#//DocumentRoot/serviceRef"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference naming.ecore#//DocumentRoot/workmanager"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//EjbLocalRefType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbLocalRefType/refName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbLocalRefType/domain"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbLocalRefType/server"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbLocalRefType/application"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbLocalRefType/module"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbLocalRefType/type"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbLocalRefType/name"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbLocalRefType/ejbLink"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbLocalRefType/targetName"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//EjbRefType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/refName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/domain"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/server"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/application"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/module"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/type"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/name"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/nsCorbaloc"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/name1"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference naming.ecore#//EjbRefType/css"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/cssLink"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/cssName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/ejbLink"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//EjbRefType/targetName"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//GbeanLocatorType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanLocatorType/domain"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanLocatorType/server"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanLocatorType/application"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanLocatorType/module"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanLocatorType/type"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanLocatorType/name"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanLocatorType/gbeanLink"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanLocatorType/targetName"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//GbeanRefType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/refName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/refType"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/proxyType"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/group"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/domain"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/server"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/application"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/module"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/type"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/name"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//GbeanRefType/targetName"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//PortCompletionType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//PortCompletionType/bindingName"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//PortType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//PortType/portName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//PortType/protocol"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//PortType/host"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//PortType/port"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//PortType/uri"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//PortType/credentialsName"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//ResourceEnvRefType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceEnvRefType/refName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceEnvRefType/domain"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceEnvRefType/server"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceEnvRefType/application"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceEnvRefType/module"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceEnvRefType/type"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceEnvRefType/name"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceEnvRefType/messageDestinationLink"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceEnvRefType/targetName"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//ResourceLocatorType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceLocatorType/domain"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceLocatorType/server"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceLocatorType/application"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceLocatorType/module"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceLocatorType/type"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceLocatorType/name"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceLocatorType/resourceLink"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceLocatorType/targetName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceLocatorType/url"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//ResourceRefType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceRefType/refName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceRefType/domain"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceRefType/server"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceRefType/application"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceRefType/module"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceRefType/type"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceRefType/name"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceRefType/resourceLink"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceRefType/targetName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ResourceRefType/url"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//ServiceCompletionType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ServiceCompletionType/serviceName"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference naming.ecore#//ServiceCompletionType/port"/>
+    </genClasses>
+    <genClasses ecoreClass="naming.ecore#//ServiceRefType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naming.ecore#//ServiceRefType/serviceRefName"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference naming.ecore#//ServiceRefType/serviceCompletion"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference naming.ecore#//ServiceRefType/port"/>
+    </genClasses>
+  </genPackages>
+  <genPackages prefix="Deployment" basePackage="org.apache.geronimo.xml.ns" resource="XML"
+      disposableProviderFactory="true" ecorePackage="deployment.ecore#/">
+    <genClasses ecoreClass="deployment.ecore#//AttributeType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//AttributeType/value"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//AttributeType/name"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//AttributeType/type"/>
+    </genClasses>
+    <genClasses ecoreClass="deployment.ecore#//ConfigurationType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference deployment.ecore#//ConfigurationType/include"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference deployment.ecore#//ConfigurationType/dependency"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference deployment.ecore#//ConfigurationType/gbean"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//ConfigurationType/configId"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//ConfigurationType/domain"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//ConfigurationType/parentId"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//ConfigurationType/server"/>
+    </genClasses>
+    <genClasses ecoreClass="deployment.ecore#//DependencyType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//DependencyType/groupId"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//DependencyType/artifactId"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//DependencyType/version"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//DependencyType/uri"/>
+    </genClasses>
+    <genClasses ecoreClass="deployment.ecore#//DocumentRoot">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute deployment.ecore#//DocumentRoot/mixed"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference deployment.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference deployment.ecore#//DocumentRoot/xSISchemaLocation"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference deployment.ecore#//DocumentRoot/configuration"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference deployment.ecore#//DocumentRoot/dependency"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference deployment.ecore#//DocumentRoot/gbean"/>
+    </genClasses>
+    <genClasses ecoreClass="deployment.ecore#//GbeanType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute deployment.ecore#//GbeanType/group"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference deployment.ecore#//GbeanType/attribute"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference deployment.ecore#//GbeanType/xmlAttribute"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference deployment.ecore#//GbeanType/reference"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference deployment.ecore#//GbeanType/references"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference deployment.ecore#//GbeanType/xmlReference"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//GbeanType/class"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//GbeanType/gbeanName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//GbeanType/name"/>
+    </genClasses>
+    <genClasses ecoreClass="deployment.ecore#//PatternType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//PatternType/domain"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//PatternType/server"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//PatternType/application"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//PatternType/moduleType"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//PatternType/module"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//PatternType/type"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//PatternType/name"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//PatternType/gbeanName"/>
+    </genClasses>
+    <genClasses ecoreClass="deployment.ecore#//ReferencesType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference deployment.ecore#//ReferencesType/pattern"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//ReferencesType/name"/>
+    </genClasses>
+    <genClasses ecoreClass="deployment.ecore#//ReferenceType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//ReferenceType/name1"/>
+    </genClasses>
+    <genClasses ecoreClass="deployment.ecore#//XmlAttributeType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute deployment.ecore#//XmlAttributeType/any"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute deployment.ecore#//XmlAttributeType/name"/>
+    </genClasses>
+  </genPackages>
+  <genPackages prefix="Web" basePackage="org.apache.geronimo.xml.ns" resource="XML"
+      disposableProviderFactory="true" ecorePackage="web.ecore#/">
+    <genEnums ecoreEnum="web.ecore#//WebContainerType">
+      <genEnumLiterals ecoreEnumLiteral="web.ecore#//WebContainerType/Tomcat"/>
+      <genEnumLiterals ecoreEnumLiteral="web.ecore#//WebContainerType/Jetty"/>
+    </genEnums>
+    <genDataTypes ecoreDataType="web.ecore#//WebContainerTypeObject"/>
+    <genClasses ecoreClass="web.ecore#//ConfigParamType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute web.ecore#//ConfigParamType/value"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute web.ecore#//ConfigParamType/name"/>
+    </genClasses>
+    <genClasses ecoreClass="web.ecore#//ContainerConfigType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference web.ecore#//ContainerConfigType/configParam"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute web.ecore#//ContainerConfigType/container"/>
+    </genClasses>
+    <genClasses ecoreClass="web.ecore#//DocumentRoot">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute web.ecore#//DocumentRoot/mixed"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference web.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference web.ecore#//DocumentRoot/xSISchemaLocation"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference web.ecore#//DocumentRoot/webApp"/>
+    </genClasses>
+    <genClasses ecoreClass="web.ecore#//WebAppType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference web.ecore#//WebAppType/dependency"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute web.ecore#//WebAppType/contextRoot"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute web.ecore#//WebAppType/contextPriorityClassloader"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference web.ecore#//WebAppType/containerConfig"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute web.ecore#//WebAppType/securityRealmName"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference web.ecore#//WebAppType/security"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference web.ecore#//WebAppType/ejbRef"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference web.ecore#//WebAppType/ejbLocalRef"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference web.ecore#//WebAppType/serviceRef"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference web.ecore#//WebAppType/resourceRef"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference web.ecore#//WebAppType/resourceEnvRef"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference web.ecore#//WebAppType/gbean"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute web.ecore#//WebAppType/configId"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute web.ecore#//WebAppType/parentId"/>
+    </genClasses>
+  </genPackages>
+  <genPackages prefix="Security" basePackage="org.apache.geronimo.xml.ns" resource="XML"
+      disposableProviderFactory="true" ecorePackage="security.ecore#/">
+    <genClasses ecoreClass="security.ecore#//DefaultPrincipalType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//DefaultPrincipalType/description"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//DefaultPrincipalType/principal"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//DefaultPrincipalType/namedUsernamePasswordCredential"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//DefaultPrincipalType/realmName"/>
+    </genClasses>
+    <genClasses ecoreClass="security.ecore#//DescriptionType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//DescriptionType/value"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//DescriptionType/lang"/>
+    </genClasses>
+    <genClasses ecoreClass="security.ecore#//DistinguishedNameType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//DistinguishedNameType/description"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//DistinguishedNameType/designatedRunAs"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//DistinguishedNameType/name"/>
+    </genClasses>
+    <genClasses ecoreClass="security.ecore#//DocumentRoot">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute security.ecore#//DocumentRoot/mixed"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference security.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference security.ecore#//DocumentRoot/xSISchemaLocation"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference security.ecore#//DocumentRoot/defaultPrincipal"/>
+      <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference security.ecore#//DocumentRoot/security"/>
+    </genClasses>
+    <genClasses ecoreClass="security.ecore#//NamedUsernamePasswordCredentialType">
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//NamedUsernamePasswordCredentialType/name"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//NamedUsernamePasswordCredentialType/username"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//NamedUsernamePasswordCredentialType/password"/>
+    </genClasses>
+    <genClasses ecoreClass="security.ecore#//PrincipalType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//PrincipalType/description"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//PrincipalType/class"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//PrincipalType/designatedRunAs"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//PrincipalType/name"/>
+    </genClasses>
+    <genClasses ecoreClass="security.ecore#//RealmType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//RealmType/description"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//RealmType/principal"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//RealmType/realmName"/>
+    </genClasses>
+    <genClasses ecoreClass="security.ecore#//RoleMappingsType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//RoleMappingsType/role"/>
+    </genClasses>
+    <genClasses ecoreClass="security.ecore#//RoleType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//RoleType/description"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//RoleType/realm"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//RoleType/distinguishedName"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//RoleType/roleName"/>
+    </genClasses>
+    <genClasses ecoreClass="security.ecore#//SecurityType">
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//SecurityType/description"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//SecurityType/defaultPrincipal"/>
+      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference security.ecore#//SecurityType/roleMappings"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//SecurityType/defaultRole"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//SecurityType/doasCurrentCaller"/>
+      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute security.ecore#//SecurityType/useContextHandler"/>
+    </genClasses>
+  </genPackages>
+</genmodel:GenModel>

Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/emf/geronimo-web.genmodel
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message