jboynes 2004/02/12 15:21:09
Modified: modules/deployment maven.xml
Added: modules/deployment/src/schema geronimo-service.xsd
Log:
New schema for geronimo-service.xml files supporting dependencies
Revision Changes Path
1.4 +2 -2 incubator-geronimo/modules/deployment/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/incubator-geronimo/modules/deployment/maven.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- maven.xml 10 Feb 2004 23:30:10 -0000 1.3
+++ maven.xml 12 Feb 2004 23:21:09 -0000 1.4
@@ -8,7 +8,7 @@
<preGoal name="java:compile">
<xmlbeans:schema2java
sourcedir="${basedir}/src"
- sourceschema="schema/geronimo-config.xsd"
+
sourceschema="schema/geronimo-config.xsd,schema/geronimo-service.xsd"
xmlconfigs="${basedir}/src/schema/xmlconfig.xml"
targetdir="${basedir}/target/xmlbeans"
cataloglocation="${basedir}/../../specs/schema/src/catalog/resolver-catalog.xml"/>
1.1
incubator-geronimo/modules/deployment/src/schema/geronimo-service.xsd
Index: geronimo-service.xsd
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
xmlns="http://geronimo.apache.org/xml/ns/deployment"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://geronimo.apache.org/xml/ns/deployment"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
>
<xs:annotation>
<xs:documentation>
Schema for Geronimo Service component definition files .
Instance documents should begin with the element:
>gbeans
xmlns="http://geronimo.apache.org/xml/ns/deployment"<
</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="geronimo-common.xsd"/>
<xs:element name="service" type="serviceType"/>
<xs:complexType name="serviceType">
<xs:sequence>
<xs:element name="dependency" type="dependencyType" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:schema>