You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by de...@apache.org on 2010/08/29 20:06:32 UTC

svn commit: r990612 [5/8] - in /geronimo/devtools/eclipse-plugin/trunk/plugins: org.apache.geronimo.jee.v22.jaxbmodel/ org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/st/core/ org.apache.geronimo.st.core/src/main/java/org/apache/geronimo/...

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-security-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-security-2.0.xsd?rev=990612&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-security-2.0.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-security-2.0.xsd Sun Aug 29 18:06:29 2010
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You 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.
+-->
+
+<!-- $Rev: 673951 $ $Date: 2008-07-04 16:10:56 +0800 (Fri, 04 Jul 2008) $ -->
+
+<xsd:schema
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+        xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+        xmlns:geronimo="http://geronimo.apache.org/xml/ns/security-2.0"
+        targetNamespace="http://geronimo.apache.org/xml/ns/security-2.0"
+        xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+        xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+        elementFormDefault="qualified"
+        attributeFormDefault="unqualified"
+        version="2.0">
+
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+    <xsd:import namespace="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" schemaLocation="geronimo-application-2.0.xsd"/>
+    <xsd:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2"  schemaLocation="geronimo-module-1.2.xsd"/>
+
+    <xsd:element name="security" type="geronimo:securityType" substitutionGroup="app:security"/>
+    <xsd:element name="credential-store" type="sys:patternType"/>
+    <xsd:element name="default-subject" type="geronimo:subject-infoType"/>
+
+    <xsd:complexType name="securityType">
+        <xsd:annotation>
+            <xsd:documentation>
+                Security entries
+
+                If this element is present, all web and EJB modules MUST make the
+                appropriate access checks as outlined in the JACC spec.
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:complexContent>
+            <xsd:extension base="app:abstract-securityType">
+
+                <xsd:sequence>
+                    <xsd:element name="description" type="geronimo:descriptionType" minOccurs="0"
+                                 maxOccurs="unbounded"/>
+                    <xsd:element name="credential-store-ref" type="sys:patternType" minOccurs="0"/>
+                    <xsd:element name="default-subject" type="geronimo:subject-infoType" minOccurs="0"/>
+                    <xsd:element name="role-mappings" type="geronimo:role-mappingsType" minOccurs="0"/>
+                </xsd:sequence>
+                <xsd:attribute name="doas-current-caller" type="xsd:boolean" default="false">
+                    <xsd:annotation>
+                        <xsd:documentation>
+                            Set this attribute to "true" if the work is to be performed
+                            as the calling Subject.
+                        </xsd:documentation>
+                    </xsd:annotation>
+                </xsd:attribute>
+                <xsd:attribute name="use-context-handler" type="xsd:boolean" default="false">
+                    <xsd:annotation>
+                        <xsd:documentation>
+                            Set this attribute to "true" if the installed JACC policy
+                            contexts will use PolicyContextHandlers.
+                        </xsd:documentation>
+                    </xsd:annotation>
+                </xsd:attribute>
+                <xsd:attribute name="default-role" type="xsd:string">
+                    <xsd:annotation>
+                        <xsd:documentation>
+                            Used by the the Deployer to assign method permissions for
+                            all of the unspecified methods, either by assigning them
+                            to security roles, or by marking them as unchecked. If
+                            the value of default-role is empty, then the unspecified
+                            methods are marked unchecked
+                        </xsd:documentation>
+                    </xsd:annotation>
+                </xsd:attribute>
+            </xsd:extension>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <xsd:complexType name="descriptionType">
+        <xsd:simpleContent>
+            <xsd:extension base="xsd:string">
+                <xsd:attribute ref="xml:lang"/>
+            </xsd:extension>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+    <xsd:complexType name="named-username-password-credentialType">
+        <xsd:sequence>
+            <xsd:element name="name" type="xsd:string"/>
+            <xsd:element name="username" type="xsd:string"/>
+            <xsd:element name="password" type="xsd:string"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <xsd:complexType name="role-mappingsType">
+        <xsd:sequence>
+            <xsd:element name="role" type="geronimo:roleType" minOccurs="1" maxOccurs="unbounded"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <xsd:complexType name="roleType">
+        <xsd:sequence>
+            <xsd:element name="description" type="geronimo:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+            <xsd:element name="run-as-subject" type="geronimo:subject-infoType" minOccurs="0"/>
+            <xsd:element name="realm-principal" type="geronimo:realmPrincipalType" minOccurs="0" maxOccurs="unbounded"/>
+            <xsd:element name="login-domain-principal" type="geronimo:loginDomainPrincipalType" minOccurs="0"
+                         maxOccurs="unbounded"/>
+            <xsd:element name="principal" type="geronimo:principalType" minOccurs="0" maxOccurs="unbounded"/>
+            <xsd:element name="distinguished-name" type="geronimo:distinguishedNameType" minOccurs="0"
+                         maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="role-name" type="xsd:string" use="required"/>
+    </xsd:complexType>
+
+    <xsd:complexType name="realmPrincipalType">
+        <xsd:complexContent>
+            <xsd:extension base="geronimo:loginDomainPrincipalType">
+                <xsd:attribute name="realm-name" type="xsd:string" use="required"/>
+            </xsd:extension>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <xsd:complexType name="loginDomainPrincipalType">
+        <xsd:complexContent>
+            <xsd:extension base="geronimo:principalType">
+                <xsd:attribute name="domain-name" type="xsd:string" use="required"/>
+            </xsd:extension>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <xsd:complexType name="principalType">
+        <xsd:sequence>
+            <xsd:element name="description" type="geronimo:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="class" type="xsd:string" use="required"/>
+        <xsd:attribute name="name" type="xsd:string" use="required"/>
+    </xsd:complexType>
+
+    <xsd:complexType name="distinguishedNameType">
+        <xsd:sequence>
+            <xsd:element name="description" type="geronimo:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="name" type="xsd:string" use="required"/>
+    </xsd:complexType>
+
+    <xsd:complexType name="subject-infoType">
+        <xsd:sequence>
+            <xsd:element name="description" type="geronimo:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+            <xsd:element name="realm" type="xsd:string"/>
+            <xsd:element name="id" type="xsd:string"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <!--<xsd:complexType name="credential-storeType">-->
+        <!--<xsd:sequence>-->
+            <!--<xsd:element name="pattern" type="sys:patternType">-->
+                <!--<xsd:annotation>-->
+                    <!--<xsd:documentation>-->
+                        <!--The pattern element defines a components of the-->
+                        <!--abstract name of GBean referred. It (optionally) includes-->
+                        <!--the groupId, artifactId, version,-->
+                        <!--module, type, and name of the GBean module.-->
+                    <!--</xsd:documentation>-->
+                <!--</xsd:annotation>-->
+            <!--</xsd:element>-->
+        <!--</xsd:sequence>-->
+    <!--</xsd:complexType>-->
+
+</xsd:schema>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-subject-info-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-subject-info-1.0.xsd?rev=990612&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-subject-info-1.0.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-subject-info-1.0.xsd Sun Aug 29 18:06:29 2010
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You 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.
+-->
+
+<!-- $Rev: 673951 $ $Date: 2008-07-04 16:10:56 +0800 (Fri, 04 Jul 2008) $ -->
+
+<xsd:schema
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+    xmlns:geronimo="http://geronimo.apache.org/xml/ns/subject-info-1.0"
+    targetNamespace="http://geronimo.apache.org/xml/ns/subject-info-1.0"
+    xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+    elementFormDefault="qualified"
+    attributeFormDefault="unqualified"
+    version="2.0">
+    
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+    <xsd:import namespace="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" schemaLocation="geronimo-application-2.0.xsd"/>
+
+    <xsd:element name="security" type="geronimo:securityType"  substitutionGroup="app:security"/>
+    <xsd:element name="default-subject" type="geronimo:default-subjectType"/>
+
+    <xsd:complexType name="securityType">
+        <xsd:annotation>
+            <xsd:documentation>
+                Security entries
+
+                If this element is present, all web and EJB modules MUST make the
+                appropriate access checks as outlined in the JACC spec.
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:complexContent>
+            <xsd:extension base="app:abstract-securityType">
+
+        <xsd:sequence>
+            <xsd:element name="description" type="geronimo:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+            <xsd:element name="default-subject" type="geronimo:default-subjectType"/>
+            <xsd:element name="role-mappings" type="geronimo:role-subject-mappingsType" minOccurs="0"/>
+        </xsd:sequence>
+        <xsd:attribute name="doas-current-caller" type="xsd:boolean" default="false">
+            <xsd:annotation>
+                <xsd:documentation>
+                    Set this attribute to "true" if the work is to be performed
+                    as the calling Subject.
+                </xsd:documentation>
+            </xsd:annotation>
+        </xsd:attribute>
+        <xsd:attribute name="use-context-handler" type="xsd:boolean" default="false">
+            <xsd:annotation>
+                <xsd:documentation>
+                    Set this attribute to "true" if the installed JACC policy
+                    contexts will use PolicyContextHandlers.
+                </xsd:documentation>
+            </xsd:annotation>
+        </xsd:attribute>
+        <xsd:attribute name="default-role" type="xsd:string">
+            <xsd:annotation>
+                <xsd:documentation>
+                    Used by the the Deployer to assign method permissions for
+                    all of the unspecified methods, either by assigning them
+                    to security roles, or by marking them as unchecked.  If
+                    the value of default-role is empty, then the unspecified
+                    methods are marked unchecked
+                </xsd:documentation>
+            </xsd:annotation>
+        </xsd:attribute>
+            </xsd:extension>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <xsd:complexType name="descriptionType">
+        <xsd:simpleContent>
+            <xsd:extension base="xsd:string">
+                <xsd:attribute ref="xml:lang"/>
+            </xsd:extension>
+        </xsd:simpleContent>
+    </xsd:complexType>
+
+
+    <xsd:complexType name="default-subjectType">
+        <xsd:sequence>
+            <xsd:element name="description" type="geronimo:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+            <xsd:element name="realm" type="xsd:string"/>
+            <xsd:element name="id" type="xsd:string"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+
+    <xsd:complexType name="role-subject-mappingsType">
+        <xsd:sequence>
+            <xsd:element name="role" type="geronimo:roleType" minOccurs="0" maxOccurs="unbounded"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <xsd:complexType name="roleType">
+        <xsd:sequence>
+            <xsd:element name="description" type="geronimo:descriptionType" minOccurs="0" maxOccurs="unbounded"/>
+            <xsd:element name="realm" type="xsd:string"/>
+            <xsd:element name="id" type="xsd:string"/>
+        </xsd:sequence>
+        <xsd:attribute name="role-name" type="xsd:string" use="required"/>
+    </xsd:complexType>
+
+</xsd:schema>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-tomcat-2.0.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-tomcat-2.0.1.xsd?rev=990612&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-tomcat-2.0.1.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-tomcat-2.0.1.xsd Sun Aug 29 18:06:29 2010
@@ -0,0 +1,275 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You 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.
+-->
+
+<!-- $Rev: 673951 $ $Date: 2008-07-04 16:10:56 +0800 (Fri, 04 Jul 2008) $ -->
+
+<xs:schema xmlns:tomcat="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1"
+    targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1"
+    xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+    xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+    xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+    xmlns:ee="http://java.sun.com/xml/ns/persistence"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    attributeFormDefault="unqualified" version="1.1">
+
+    <xs:annotation>
+        <xs:documentation>
+            This is an XML Schema Definition for Geronimo tomcat web application
+            deployment plan. In case the web application deployment plan is
+            provided internally in the web archive, it should be named
+            META-INF/geronimo-web.xml. In case the web application deployment
+            plan is provided externally, the deployment descriptor can be named
+            anything and provided to the deploy tool. Alternatively, it can be
+            included in the EAR and referenced by an alt-dd element of the EAR
+            deployment plan. All the web application deployment plan must
+            specify the top level element as web-app with namespace specified as
+            xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1". The
+            default location for this document is
+            http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1
+        </xs:documentation>
+    </xs:annotation>
+
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.2"
+        schemaLocation="geronimo-naming-1.2.xsd">
+        <xs:annotation>
+            <xs:documentation>
+                Import partial schema containing common naming elements, the
+                imported plan declares elements like ejb-ref, ejb-local-ref,
+                service-ref, resource-ref, and resource-env-ref required by this
+                plan schema.
+            </xs:documentation>
+        </xs:annotation>
+    </xs:import>
+    <xs:import
+        namespace="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+        schemaLocation="geronimo-application-2.0.xsd">
+        <xs:annotation>
+            <xs:documentation>
+                Import Geronimo application deployment plans. The imported plan
+                includes abstract complex types security required by this plan
+                schema.
+            </xs:documentation>
+        </xs:annotation>
+    </xs:import>
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2"
+        schemaLocation="geronimo-module-1.2.xsd">
+        <xs:annotation>
+            <xs:documentation>
+                Import Geronimo Services deployment plans. The imported plan
+                includes complex types like moduleType, environmentType,
+                dependenciesType, etc. required by this plan schema.
+            </xs:documentation>
+        </xs:annotation>
+    </xs:import>
+
+    <xs:import namespace="http://java.sun.com/xml/ns/persistence" schemaLocation="http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"/>
+
+    <xs:element name="web-app" type="tomcat:web-appType">
+        <xs:annotation>
+            <xs:documentation>
+                The web-app element is the root of the deployment descriptor for
+                a Geronimo tomcat web application. Note that the sub-elements of
+                this element should be as in the given order in a sequence.
+            </xs:documentation>
+        </xs:annotation>
+    </xs:element>
+
+    <xs:complexType name="web-appType">
+        <xs:sequence>
+            <xs:element ref="sys:environment" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        Reference to environment element defined in imported
+                        "geronimo-module-1.2.xsd"
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+
+            <xs:element name="context-root" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        This is the first part of the URL used to access the web
+                        application. For example context-root of "Sample-App"
+                        will have URL of http://host:port/Sample-App" and a
+                        context-root of "/" would make this the default web
+                        application to the server.
+
+                        If the web application is packaged as an EAR that can
+                        use application context in the "application.xml". This
+                        element is necessary unless you want context root to
+                        default to the WAR name.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+
+            <xs:element name="work-dir" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        This is the work directory that will be used by this
+                        application.  The directory location will be relative
+                        to "catalina.home".
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+
+            <xs:element ref="app:clustering" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        Reference to abstract clustering element defined in
+                        imported "geronimo-application-2.0.xsd"
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+
+            <!--<xs:element name="context-priority-classloader" type="xs:boolean" minOccurs="0"/>-->
+
+            <xs:element ref="naming:web-container" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        Reference to web-container element defined in imported
+                        "geronimo-naming-1.2.xsd"
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+
+            <xs:element name="host" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The host element maps the web application to this
+                        particular host name.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="cross-context" type="tomcat:emptyType"
+                minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The cross-context is an indicative element to specify
+                        that the web application will use dispatch request to
+                        other applications and this cross context should be
+                        enabled.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="disable-cookies" type="tomcat:emptyType"
+                minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The presence of disable-cookies element indicates the
+                        cookies will not be used by tomcat web application and
+                        should be disabled.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="valve-chain" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The valve-chain provides the list of first element
+                        tomcat valves chain for this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="listener-chain" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The listener-chain provides the list of first element
+                        tomcat lifecycle listener chain for this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="tomcat-realm" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The tomcat-realm provides the tomcat security realm used
+                        by this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="manager" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The manager provides the clustering implementation used
+                        by this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="cluster" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The cluster provides the name of cluster this web
+                        application belongs to.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+
+            <xs:group ref="naming:jndiEnvironmentRefsGroup">
+                <xs:annotation>
+                    <xs:documentation>
+                        Reference to jndiEnvironmentRefsGroup group defined in
+                        imported "geronimo-naming-1.2.xsd"
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:group>
+            <xs:element ref="naming:message-destination" minOccurs="0"
+                maxOccurs="unbounded">
+                <xs:annotation>
+                    <xs:documentation>
+                        Reference to message-destination element defined in
+                        imported "geronimo-naming-1.2.xsd"
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+
+            <xs:sequence minOccurs="0">
+                <xs:element name="security-realm-name" type="xs:string">
+                    <xs:annotation>
+                        <xs:documentation>
+                            The security-realm-name element provides the name of
+                            security realm that will be used by JAAS
+                            authentication. The name should match the your
+                            security realm GBean.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:element>
+                <xs:element ref="app:security" minOccurs="0">
+                    <xs:annotation>
+                        <xs:documentation>
+                            Reference to security element defined in imported
+                            "geronimo-security-2.0.xsd"
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:element>
+            </xs:sequence>
+
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:element ref="sys:service" minOccurs="0" maxOccurs="unbounded">
+                    <xs:annotation>
+                        <xs:documentation>
+                            Reference to abstract service element defined in imported
+                            "geronimo-module-1.2.xsd"
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:element>
+                <xs:element ref="ee:persistence"/>
+            </xs:choice>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="emptyType" />
+
+</xs:schema>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-tomcat-config-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-tomcat-config-1.0.xsd?rev=990612&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-tomcat-config-1.0.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-tomcat-config-1.0.xsd Sun Aug 29 18:06:29 2010
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You 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.
+-->
+
+<xs:schema
+    xmlns:tomcat="http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0"
+    targetNamespace="http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    attributeFormDefault="unqualified" version="1.0">
+
+    <xs:annotation>
+        <xs:documentation>
+            This is an XML Schema Definition for Geronimo tomcat specific
+            configuration. It is a used as a sub part of the web application
+            deployment plan. The elements defined in this plan are included in
+            container-config element of web application plan. The top level
+            element included in container-config is tomcat with namespace
+            specified as
+            xmlns="http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0".
+            The default location for this document is
+            http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0
+        </xs:documentation>
+    </xs:annotation>
+    <xs:element name="tomcat" type="tomcat:tomcat-configType">
+        <xs:annotation>
+            <xs:documentation>
+                The tomcat element is the root of the deployment descriptor for
+                a tomcat specific configuration in web application. Note that
+                the sub-elements of this element should be as in the given order
+                in a sequence.
+            </xs:documentation>
+        </xs:annotation>
+    </xs:element>
+
+    <xs:complexType name="tomcat-configType">
+        <xs:sequence>
+            <xs:element name="host" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The host element maps the web application to this
+                        particular host name.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="cross-context" type="tomcat:emptyType"
+                minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The cross-context is an indicative element to specify
+                        that the web application will use dispatch request to
+                        other applications and this cross context should be
+                        enabled.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="disable-cookies" type="tomcat:emptyType"
+                minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The presence of disable-cookies element indicates the
+                        cookies will not be used by tomcat web application and
+                        should be disabled.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="valve-chain" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The valve-chain provides the list of first element
+                        tomcat valves chain for this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="listener-chain" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The listener-chain provides the list of first element
+                        tomcat lifecycle listener chain for this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="tomcat-realm" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The tomcat-realm provides the tomcat security realm used
+                        by this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="manager" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The manager provides the clustering implementation used
+                        by this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="cluster" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The cluster provides the name of cluster this web
+                        application belongs to.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="emptyType" />
+
+</xs:schema>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-web-2.0.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-web-2.0.1.xsd?rev=990612&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-web-2.0.1.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/geronimo-web-2.0.1.xsd Sun Aug 29 18:06:29 2010
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You 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.
+-->
+
+<!-- $Rev: 673951 $ $Date: 2008-07-04 16:10:56 +0800 (Fri, 04 Jul 2008) $ -->
+
+<xs:schema
+    xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
+    targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
+    xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+    xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+    xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+    xmlns:ee="http://java.sun.com/xml/ns/persistence"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema"
+    elementFormDefault="qualified"
+    attributeFormDefault="unqualified"
+    version="1.0">
+
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.2" schemaLocation="geronimo-naming-1.2.xsd"/>
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" schemaLocation="geronimo-application-2.0.xsd"/>
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2" schemaLocation="geronimo-module-1.2.xsd"/>
+    <xs:import namespace="http://java.sun.com/xml/ns/persistence" schemaLocation="http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"/>
+
+    <xs:element name="web-app" type="web:web-appType"/>
+    <xs:annotation>
+        <xs:documentation>
+            The web-app element is the root of the deployment descriptor for a Geronimo web  
+            application. Note that the sub-elements of this element should be as in the given order because it is 
+            defined as a sequence.
+        </xs:documentation>
+    </xs:annotation>
+    <xs:annotation>
+        <xs:documentation>
+            This group keeps the usage of the contained JNDI environment
+            reference elements consistent across J2EE deployment descriptors.
+        </xs:documentation>
+    </xs:annotation>
+
+    <xs:complexType name="web-appType">
+        <xs:sequence>
+            <xs:element ref="sys:environment" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>                         
+                        This is the first part of the URL used to access the web application.
+                        For example context-root of "Sample-App" will have URL of 
+                        http://host:port/Sample-App" and a context-root of "/" would be make this the default web application to the server.
+
+                        If the web application is packaged as an EAR that can use application context
+                        in the "application.xml". This element is necessary unless you want context root to default to the WAR 
+                        name.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+
+            <xs:element name="context-root" type="xs:string" minOccurs="0"/>
+            <xs:element name="work-dir" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        This is the work directory that will be used by this application.
+                        For Jetty this will be relative to jetty home which is var/jetty
+                        by default.
+                        For Tomcat this will be relative to "catalina.home".
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <!--<xs:element name="context-priority-classloader" type="xs:boolean" minOccurs="0"/>-->
+            <xs:element ref="naming:web-container" minOccurs="0"/>
+            <xs:element name="container-config" type="web:container-configType" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        Geronimo supports both Jetty and Tomcat web containers. This element is
+                        for a web application needs to take container specific settings. It can hold either a Tomcat element or a Jetty element or both.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+
+            <xs:group ref="naming:jndiEnvironmentRefsGroup"/>
+            <xs:element ref="naming:message-destination" minOccurs="0" maxOccurs="unbounded"/>
+
+            <xs:sequence minOccurs="0">
+                <xs:element name="security-realm-name" type="xs:string"/>
+                <xs:element ref="app:security" minOccurs="0"/>
+            </xs:sequence>
+
+            <xs:choice minOccurs="0" maxOccurs="unbounded">
+                <xs:element ref="sys:service" minOccurs="0" maxOccurs="unbounded">
+                    <xs:annotation>
+                        <xs:documentation>
+                            Reference to abstract service element defined in imported
+                            "geronimo-module-1.2.xsd"
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:element>
+                <xs:element ref="ee:persistence"/>
+            </xs:choice>
+            
+
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="container-configType">
+        <xs:sequence>
+            <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+
+</xs:schema>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/openejb-jar-2.2.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/openejb-jar-2.2.xsd?rev=990612&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/openejb-jar-2.2.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/openejb-jar-2.2.xsd Sun Aug 29 18:06:29 2010
@@ -0,0 +1,395 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+/**
+  * Licensed to the Apache Software Foundation (ASF) under one or more
+  * contributor license agreements.  See the NOTICE file distributed with
+  * this work for additional information regarding copyright ownership.
+  * The ASF licenses this file to You 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.
+  */
+-->
+
+<xs:schema elementFormDefault="qualified" version="1.0"
+    targetNamespace="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
+    xmlns:tns="http://openejb.apache.org/xml/ns/openejb-jar-2.2"
+    xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"
+    xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+    xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+    xmlns:ns1="http://geronimo.apache.org/xml/ns/security-2.0"
+    xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+    xmlns:ee="http://java.sun.com/xml/ns/persistence"
+    xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2" schemaLocation="geronimo-module-1.2.xsd"/>
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.2" schemaLocation="geronimo-naming-1.2.xsd"/>
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" schemaLocation="geronimo-application-2.0.xsd"/>
+    <xs:import namespace="http://geronimo.apache.org/xml/ns/security-2.0" schemaLocation="geronimo-security-2.0.xsd"/>
+    <xs:import namespace="http://java.sun.com/xml/ns/persistence" schemaLocation="http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"/>
+    <xs:import namespace="http://openejb.apache.org/xml/ns/pkgen-2.1" schemaLocation="pkgen-2.1.xsd"/>
+
+    <xs:element name="jndi" nillable="true">
+        <xs:complexType>
+            <xs:sequence/>
+            <xs:attribute name="name" type="xs:string"/>
+            <xs:attribute name="interface" type="xs:string"/>
+        </xs:complexType>
+    </xs:element>
+
+    <xs:element name="openejb-jar" nillable="true" type="tns:openejb-jarType"/>
+
+    <xs:complexType name="openejb-jarType">
+        <xs:sequence>
+            <xs:element ref="sys:environment" minOccurs="0"/>
+            <xs:element ref="naming:cmp-connection-factory" minOccurs="0"/>
+            <xs:element name="ejb-ql-compiler-factory" type="xs:string" minOccurs="0"/>
+            <xs:element name="db-syntax-factory" type="xs:string" minOccurs="0"/>
+            <xs:element name="enforce-foreign-key-constraints" type="tns:emptyType" minOccurs="0"/>
+            <xs:element name="enterprise-beans" minOccurs="0">
+                <xs:complexType>
+                    <xs:choice maxOccurs="unbounded">
+                        <xs:element name="message-driven" type="tns:message-driven-beanType"/>
+                        <xs:element name="session" type="tns:session-beanType"/>
+                        <xs:element name="entity" type="tns:entity-beanType"/>
+                    </xs:choice>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="relationships" minOccurs="0">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="ejb-relation" type="tns:ejb-relationType" maxOccurs="unbounded"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element ref="naming:message-destination" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="app:security" minOccurs="0"/>
+            <!-- xs:element ref="ns1:security" minOccurs="0"/ -->
+            <xs:choice maxOccurs="unbounded" minOccurs="0">
+                <xs:element ref="sys:service"/>
+                <!-- xs:element ref="sys:gbean"/ -->
+            </xs:choice>
+            <xs:element ref="ee:persistence" maxOccurs="unbounded" minOccurs="0"/>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="emptyType"/>
+
+    <xs:complexType name="message-driven-beanType">
+        <xs:sequence>
+            <xs:element name="ejb-name" type="xs:string"/>
+            <xs:element ref="naming:resource-adapter"/>
+            <xs:element name="activation-config" type="tns:activation-configType" minOccurs="0"/>
+            <xs:choice maxOccurs="unbounded" minOccurs="0">
+                <xs:element ref="naming:abstract-naming-entry"/>
+                <!-- xs:element ref="naming:persistence-context-ref"/ -->
+                <!-- xs:element ref="naming:gbean-ref"/ -->
+            </xs:choice>
+            <!-- xs:element ref="naming:persistence-context-ref" maxOccurs="unbounded" minOccurs="0"/ -->
+            <!-- xs:element ref="naming:persistence-unit-ref" maxOccurs="unbounded" minOccurs="0"/ -->
+            <xs:element ref="naming:ejb-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:ejb-local-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:service-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-env-ref" maxOccurs="unbounded" minOccurs="0"/>
+        </xs:sequence>
+        <xs:attribute name="id" type="xs:ID"/>
+    </xs:complexType>
+
+    <xs:complexType name="session-beanType">
+        <xs:sequence>
+            <xs:element name="ejb-name" type="xs:string"/>
+            <xs:element name="jndi-name" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="local-jndi-name" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="tns:jndi" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="cache-size" type="xs:int" minOccurs="0"/>
+            <xs:element name="tss-link" type="xs:string" minOccurs="0"/>
+            <xs:element name="tss" type="naming:patternType" minOccurs="0"/>
+            <xs:choice maxOccurs="unbounded" minOccurs="0">
+                <xs:element ref="naming:abstract-naming-entry"/>
+                <!-- xs:element ref="naming:persistence-context-ref"/ -->
+                <!-- xs:element ref="naming:gbean-ref"/ -->
+            </xs:choice>
+            <!-- xs:element ref="naming:persistence-context-ref" maxOccurs="unbounded" minOccurs="0"/ -->
+            <!-- xs:element ref="naming:persistence-unit-ref" maxOccurs="unbounded" minOccurs="0"/ -->
+            <xs:element ref="naming:ejb-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:ejb-local-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:service-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-env-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="web-service-address" type="xs:string" minOccurs="0"/>
+            <xs:element name="web-service-virtual-host" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="web-service-security" type="tns:web-service-securityType" minOccurs="0"/>
+        </xs:sequence>
+        <xs:attribute name="id" type="xs:ID"/>
+    </xs:complexType>
+
+    <xs:complexType name="entity-beanType">
+        <xs:sequence>
+            <xs:element name="ejb-name" type="xs:string"/>
+            <xs:element name="jndi-name" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="local-jndi-name" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="tns:jndi" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="tss-link" type="xs:string" minOccurs="0"/>
+            <xs:element name="tss" type="naming:patternType" minOccurs="0"/>
+            <xs:element name="table-name" type="xs:string" minOccurs="0"/>
+            <xs:element name="static-sql" type="tns:emptyType" minOccurs="0"/>
+            <xs:element name="cmp-field-mapping" maxOccurs="unbounded" minOccurs="0">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="cmp-field-name" type="xs:string"/>
+                        <xs:element name="cmp-field-class" type="xs:string" minOccurs="0"/>
+                        <xs:element name="table-column" type="xs:string"/>
+                        <xs:element name="sql-type" type="xs:string" minOccurs="0"/>
+                        <xs:element name="type-converter" type="xs:string" minOccurs="0"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="primkey-field" type="xs:string" minOccurs="0"/>
+            <xs:element ref="pkgen:key-generator" minOccurs="0"/>
+            <xs:element name="prefetch-group" minOccurs="0">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="group" type="tns:groupType" maxOccurs="unbounded" minOccurs="0"/>
+                        <xs:element name="entity-group-mapping" type="tns:entity-group-mappingType" minOccurs="0"/>
+                        <xs:element name="cmp-field-group-mapping" type="tns:cmp-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/>
+                        <xs:element name="cmr-field-group-mapping" type="tns:cmr-field-group-mappingType" maxOccurs="unbounded" minOccurs="0"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="select-for-update" type="tns:emptyType" minOccurs="0"/>
+            <xs:element name="cache" minOccurs="0">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="isolation-level" type="xs:string"/>
+                        <xs:element name="size" type="xs:int"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:choice maxOccurs="unbounded" minOccurs="0">
+                <xs:element ref="naming:abstract-naming-entry"/>
+                <!-- xs:element ref="naming:persistence-context-ref"/ -->
+                <!-- xs:element ref="naming:gbean-ref"/ -->
+            </xs:choice>
+            <!-- xs:element ref="naming:persistence-context-ref" maxOccurs="unbounded" minOccurs="0"/ -->
+            <!-- xs:element ref="naming:persistence-unit-ref" maxOccurs="unbounded" minOccurs="0"/ -->
+            <xs:element ref="naming:ejb-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:ejb-local-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:service-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element ref="naming:resource-env-ref" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="query" type="tns:queryType" maxOccurs="unbounded" minOccurs="0"/>
+        </xs:sequence>
+        <xs:attribute name="id" type="xs:ID"/>
+    </xs:complexType>
+
+    <xs:complexType name="ejb-relationType">
+        <xs:sequence>
+            <xs:element name="ejb-relation-name" type="xs:string" minOccurs="0"/>
+            <xs:element name="many-to-many-table-name" type="xs:string" minOccurs="0"/>
+            <xs:element name="ejb-relationship-role" type="tns:ejb-relationship-roleType" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="activation-configType">
+        <xs:sequence>
+            <xs:element name="description" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="activation-config-property" type="tns:activation-config-propertyType" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="activation-config-propertyType">
+        <xs:sequence>
+            <xs:element name="activation-config-property-name" type="xs:string"/>
+            <xs:element name="activation-config-property-value" type="xs:string"/>
+        </xs:sequence>
+    </xs:complexType>
+ 
+
+    <xs:complexType name="web-service-securityType">
+        <xs:sequence>
+            <xs:element name="security-realm-name" type="xs:string"/>
+            <xs:element name="realm-name" type="xs:string" minOccurs="0"/>
+            <xs:element name="transport-guarantee" type="tns:transportGuaranteeType"/>
+            <xs:element name="auth-method" type="tns:authMethodType"/>
+            <xs:element name="http-method" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="groupType">
+        <xs:sequence>
+            <xs:element name="group-name" type="xs:string"/>
+            <xs:element name="cmp-field-name" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+            <xs:element name="cmr-field" maxOccurs="unbounded" minOccurs="0">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="cmr-field-name" type="xs:string"/>
+                        <xs:element name="group-name" type="xs:string" minOccurs="0"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="entity-group-mappingType">
+        <xs:sequence>
+            <xs:element name="group-name" type="xs:string"/>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="cmp-field-group-mappingType">
+        <xs:sequence>
+            <xs:element name="group-name" type="xs:string"/>
+            <xs:element name="cmp-field-name" type="xs:string"/>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="cmr-field-group-mappingType">
+        <xs:sequence>
+            <xs:element name="group-name" type="xs:string"/>
+            <xs:element name="cmr-field-name" type="xs:string"/>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="queryType">
+        <xs:sequence>
+            <xs:element name="query-method">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="method-name" type="xs:string"/>
+                        <xs:element name="method-params">
+                            <xs:complexType>
+                                <xs:sequence>
+                                    <xs:element name="method-param" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+                                </xs:sequence>
+                            </xs:complexType>
+                        </xs:element>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="result-type-mapping" type="xs:string" minOccurs="0"/>
+            <xs:element name="ejb-ql" type="xs:string" minOccurs="0"/>
+            <xs:element name="no-cache-flush" type="xs:anyType" minOccurs="0"/>
+            <xs:element name="group-name" type="xs:string" minOccurs="0"/>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="ejb-relationship-roleType">
+        <xs:sequence>
+            <xs:element name="ejb-relationship-role-name" type="xs:string" minOccurs="0"/>
+            <xs:element name="relationship-role-source">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="ejb-name" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="cmr-field" minOccurs="0">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="cmr-field-name" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="foreign-key-column-on-source" type="tns:emptyType" minOccurs="0"/>
+            <xs:element name="role-mapping">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element name="cmr-field-mapping" maxOccurs="unbounded">
+                            <xs:complexType>
+                                <xs:sequence>
+                                    <xs:element name="key-column" type="xs:string"/>
+                                    <xs:element name="foreign-key-column" type="xs:string"/>
+                                </xs:sequence>
+                            </xs:complexType>
+                        </xs:element>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:simpleType name="transportGuaranteeType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="CONFIDENTIAL"/>
+            <xs:enumeration value="INTEGRAL"/>
+            <xs:enumeration value="NONE"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="authMethodType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="NONE"/>
+            <xs:enumeration value="CLIENT-CERT"/>
+            <xs:enumeration value="DIGEST"/>
+            <xs:enumeration value="BASIC"/>
+        </xs:restriction>
+    </xs:simpleType>
+    
+
+    <xs:complexType name="abstract-naming-entryType" abstract="true"/>
+
+    <xs:complexType name="jaxbOpenejbJar2"/>
+
+    <xs:simpleType name="importType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="services"/>
+            <xs:enumeration value="classes"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="persistenceContextTypeType">
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="extended"/>
+            <xs:enumeration value="transaction-scoped"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <!-- Already defined in geronimo-naming-1.2.xsd file 
+        
+        <xs:complexType name="ejb-refType">
+            <xs:sequence>
+                <xs:element ref="naming:ref-name"/>
+                <xs:element ref="naming:pattern" minOccurs="0"/>
+                <xs:element ref="naming:ns-corbaloc" minOccurs="0"/>
+                <xs:element ref="naming:name" minOccurs="0"/>
+                <xs:element ref="naming:css" minOccurs="0"/>
+                <xs:element ref="naming:css-link" minOccurs="0"/>
+                <xs:element ref="naming:ejb-link" minOccurs="0"/>
+            </xs:sequence>
+        </xs:complexType>
+    
+        <xs:complexType name="gbean-refType">
+            <xs:complexContent>
+                <xs:extension base="tns:abstract-naming-entryType">
+                    <xs:sequence>
+                        <xs:element name="ref-name" type="xs:string"/>
+                        <xs:element name="ref-type" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
+                        <xs:element name="pattern" type="naming:patternType" nillable="true" maxOccurs="unbounded" minOccurs="0"/>
+                    </xs:sequence>
+                </xs:extension>
+            </xs:complexContent>
+        </xs:complexType>
+    
+        <xs:complexType name="gbean-locatorType">
+            <xs:sequence>
+                <xs:element name="pattern" type="naming:patternType" minOccurs="0"/>
+                <xs:element name="gbean-link" type="xs:string" minOccurs="0"/>
+            </xs:sequence>
+        </xs:complexType>
+    
+        -->
+
+
+    
+    
+    
+
+</xs:schema>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/pkgen-2.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/pkgen-2.1.xsd?rev=990612&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/pkgen-2.1.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.schemas/v30/pkgen-2.1.xsd Sun Aug 29 18:06:29 2010
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!--
+/**
+  * Licensed to the Apache Software Foundation (ASF) under one or more
+  * contributor license agreements.  See the NOTICE file distributed with
+  * this work for additional information regarding copyright ownership.
+  * The ASF licenses this file to You 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.
+  */
+-->
+<xs:schema version="1.0" targetNamespace="http://openejb.apache.org/xml/ns/pkgen-2.1" xmlns:tns="http://openejb.apache.org/xml/ns/pkgen-2.1" xmlns:ns1="http://openejb.apache.org/xml/ns/openejb-jar-2.2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:element name="key-generator" nillable="true" type="tns:key-generatorType"/>
+
+  <xs:complexType name="auto-increment-tableType">
+    <xs:sequence>
+      <xs:element name="sql" type="xs:string" form="qualified"/>
+      <xs:element name="return-type" type="xs:string" form="qualified"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="sequence-tableType">
+    <xs:sequence>
+      <xs:element name="table-name" type="xs:string" form="qualified"/>
+      <xs:element name="sequence-name" type="xs:string" form="qualified"/>
+      <xs:element name="batch-size" type="xs:int" form="qualified"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="sql-generatorType">
+    <xs:sequence>
+      <xs:element name="sql" type="xs:string" form="qualified"/>
+      <xs:element name="return-type" type="xs:string" form="qualified"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="custom-generatorType">
+    <xs:sequence>
+      <xs:element name="generator-name" type="xs:string" form="qualified"/>
+      <xs:element name="primary-key-class" type="xs:string" form="qualified"/>
+    </xs:sequence>
+  </xs:complexType>
+
+
+  <xs:complexType name="emptyType" />
+
+  <xs:complexType name="key-generatorType">
+    <xs:sequence>
+      <xs:element name="uuid" type="tns:emptyType" form="qualified" minOccurs="0"/>
+      <xs:element name="sequence-table" type="tns:sequence-tableType" form="qualified" minOccurs="0"/>
+      <xs:element name="auto-increment-table" type="tns:auto-increment-tableType" form="qualified" minOccurs="0"/>
+      <xs:element name="sql-generator" type="tns:sql-generatorType" form="qualified" minOccurs="0"/>
+      <xs:element name="custom-generator" type="tns:custom-generatorType" form="qualified" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="database-generatedType">
+    <xs:sequence>
+      <xs:element name="identity-column" type="xs:string" form="qualified" maxOccurs="unbounded"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>