[jboss-cvs] JBossAS SVN: r94841 - in projects/metadata/rar/tags: 2.0.0.Alpha2 and 3 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 14 03:58:39 EDT 2009


Author: jeff.zhang
Date: 2009-10-14 03:58:37 -0400 (Wed, 14 Oct 2009)
New Revision: 94841

Added:
   projects/metadata/rar/tags/2.0.0.Alpha2/
   projects/metadata/rar/tags/2.0.0.Alpha2/pom.xml
   projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/ConnectorMetaData.java
   projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/JCA16Base.java
   projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/OutboundRaMetaData.java
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16EverythingUnitTestCase.java
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16NegativeUnitTestCase.java
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Everything_testMinimal.xml
Removed:
   projects/metadata/rar/tags/2.0.0.Alpha2/pom.xml
   projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/ConnectorMetaData.java
   projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/JCA16Base.java
   projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/OutboundRaMetaData.java
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16EverythingUnitTestCase.java
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16NegativeUnitTestCase.java
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Everything_testMinimal.xml
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserConDef.xml
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserEISType.xml
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserRAVersion.xml
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserReAuth.xml
   projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserVendorName.xml
Log:
[maven-release-plugin]  copy for tag 2.0.0.Alpha2

Copied: projects/metadata/rar/tags/2.0.0.Alpha2 (from rev 94804, projects/metadata/rar/trunk)

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/pom.xml
===================================================================
--- projects/metadata/rar/trunk/pom.xml	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/pom.xml	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,125 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.jboss</groupId>
-    <artifactId>jboss-parent</artifactId>
-    <version>4.0.CR1</version>
-  </parent>
-  <groupId>org.jboss.metadata</groupId>
-  <artifactId>jboss-metadata-rar</artifactId>
-  <packaging>jar</packaging>
-  <version>2.0.0-SNAPSHOT</version>
-  <name>JBoss Metadata RAR</name>
-  <url>http://www.jboss.org</url>
-  <description>The common JavaEE metadata classes</description>
-  <scm>
-    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/metadata/rar/trunk/</connection>
-    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/metadata/rar/trunk/</developerConnection>
-  </scm>
-
-  <build>
-    <outputDirectory>${profile.outputDirectory}</outputDirectory>
-    <testOutputDirectory>${profile.testOutputDirectory}</testOutputDirectory>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.4.3</version>
-        <configuration>
-          <printSummary>true</printSummary>
-          <disableXmlReport>false</disableXmlReport>
-          <redirectTestOutputToFile>true</redirectTestOutputToFile>
-           <testFailureIgnore>false</testFailureIgnore>
-          <includes>
-            <include>**/*TestCase.java</include>
-          </includes>
-        </configuration>
-      </plugin>      
-    </plugins>
-  </build>
-
-  <repositories>
-    <repository>
-      <id>repository.jboss.org</id>
-      <name>JBoss Repository</name>
-      <layout>default</layout>
-      <url>http://repository.jboss.org/maven2/</url>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-    </repository>
-    <repository>
-      <id>snapshots.jboss.org</id>
-      <name>JBoss Snapshot Repository</name>
-      <layout>default</layout>
-      <url>http://snapshots.jboss.org/maven2/</url>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-    </repository>
-  </repositories>
-
-  <!-- 
-    Eclipse settings have been removed from parent. This needs to be
-    done via an eclipse profile.
-    http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085896#4085896 
-    -->
-  <profiles>
-    <profile>
-      <id>default</id>
-      <activation>
-        <activeByDefault>true</activeByDefault>
-      </activation>
-      <properties>
-        <profile.outputDirectory>target/classes</profile.outputDirectory>
-        <profile.testOutputDirectory>target/tests-classes</profile.testOutputDirectory>
-      </properties>
-    </profile>
-    
-    <profile>
-      <id>eclipse</id>
-      <properties>
-        <profile.outputDirectory>eclipse-target/classes</profile.outputDirectory>
-        <profile.testOutputDirectory>eclipse-target/tests-classes</profile.testOutputDirectory>
-      </properties>
-    </profile>
-  </profiles>
-
-  <!-- Compile Dependencies -->
-  <dependencies>
-
-    <dependency>
-      <groupId>org.jboss.metadata</groupId>
-      <artifactId>jboss-metadata-common</artifactId>
-      <version>2.0.0.Alpha2</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.jboss.metadata</groupId>
-      <artifactId>jboss-metadata-common</artifactId>
-      <version>2.0.0.Alpha2</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    
-    <!-- Test Dependencies -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.4</version>
-      <scope>test</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.jboss.test</groupId>
-      <artifactId>jboss-test</artifactId>
-      <version>1.1.4.GA</version>
-      <scope>test</scope>
-    </dependency>
-
-  </dependencies>
-
-</project>

Copied: projects/metadata/rar/tags/2.0.0.Alpha2/pom.xml (from rev 94840, projects/metadata/rar/trunk/pom.xml)
===================================================================
--- projects/metadata/rar/tags/2.0.0.Alpha2/pom.xml	                        (rev 0)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/pom.xml	2009-10-14 07:58:37 UTC (rev 94841)
@@ -0,0 +1,125 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.jboss</groupId>
+    <artifactId>jboss-parent</artifactId>
+    <version>4.0.CR1</version>
+  </parent>
+  <groupId>org.jboss.metadata</groupId>
+  <artifactId>jboss-metadata-rar</artifactId>
+  <packaging>jar</packaging>
+  <version>2.0.0.Alpha2</version>
+  <name>JBoss Metadata RAR</name>
+  <url>http://www.jboss.org</url>
+  <description>The common JavaEE metadata classes</description>
+  <scm>
+    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/metadata/rar/tags/2.0.0.Alpha2</connection>
+    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/metadata/rar/tags/2.0.0.Alpha2</developerConnection>
+  </scm>
+
+  <build>
+    <outputDirectory>${profile.outputDirectory}</outputDirectory>
+    <testOutputDirectory>${profile.testOutputDirectory}</testOutputDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.4.3</version>
+        <configuration>
+          <printSummary>true</printSummary>
+          <disableXmlReport>false</disableXmlReport>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
+           <testFailureIgnore>false</testFailureIgnore>
+          <includes>
+            <include>**/*TestCase.java</include>
+          </includes>
+        </configuration>
+      </plugin>      
+    </plugins>
+  </build>
+
+  <repositories>
+    <repository>
+      <id>repository.jboss.org</id>
+      <name>JBoss Repository</name>
+      <layout>default</layout>
+      <url>http://repository.jboss.org/maven2/</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+    <repository>
+      <id>snapshots.jboss.org</id>
+      <name>JBoss Snapshot Repository</name>
+      <layout>default</layout>
+      <url>http://snapshots.jboss.org/maven2/</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+
+  <!-- 
+    Eclipse settings have been removed from parent. This needs to be
+    done via an eclipse profile.
+    http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085896#4085896 
+    -->
+  <profiles>
+    <profile>
+      <id>default</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <properties>
+        <profile.outputDirectory>target/classes</profile.outputDirectory>
+        <profile.testOutputDirectory>target/tests-classes</profile.testOutputDirectory>
+      </properties>
+    </profile>
+    
+    <profile>
+      <id>eclipse</id>
+      <properties>
+        <profile.outputDirectory>eclipse-target/classes</profile.outputDirectory>
+        <profile.testOutputDirectory>eclipse-target/tests-classes</profile.testOutputDirectory>
+      </properties>
+    </profile>
+  </profiles>
+
+  <!-- Compile Dependencies -->
+  <dependencies>
+
+    <dependency>
+      <groupId>org.jboss.metadata</groupId>
+      <artifactId>jboss-metadata-common</artifactId>
+      <version>2.0.0.Alpha2</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.jboss.metadata</groupId>
+      <artifactId>jboss-metadata-common</artifactId>
+      <version>2.0.0.Alpha2</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    
+    <!-- Test Dependencies -->
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.4</version>
+      <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.jboss.test</groupId>
+      <artifactId>jboss-test</artifactId>
+      <version>1.1.4.GA</version>
+      <scope>test</scope>
+    </dependency>
+
+  </dependencies>
+
+</project>
\ No newline at end of file

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/ConnectorMetaData.java
===================================================================
--- projects/metadata/rar/trunk/src/main/java/org/jboss/metadata/rar/spec/ConnectorMetaData.java	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/ConnectorMetaData.java	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,236 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.metadata.rar.spec;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlTransient;
-
-import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
-
-
-/**
- * Connector meta data
- *
- * @author <a href="mailto:adrian at jboss.com">Adrian Brock</a>
- * @author Jeff Zhang
- * @version $Revision: 83806 $
- */
-public class ConnectorMetaData extends IdMetaDataImplWithDescriptionGroup
-{
-   private static final long serialVersionUID = 7047130842894140222L;
-
-   private String dtdPublicId;
-   private String dtdSystemId;
-   /** The version */
-   private String version;
-
-   /** The vendor name */
-   private String vendorName;
-
-   /** The eis type */
-   private String eisType;
-
-   /** The resource adapter version */
-   private String raVersion;
-
-   /** The license */
-   private LicenseMetaData lmd;
-   
-   private ResourceAdapterMetaData ra;
-
-   /**
-    * Callback for the DTD information
-    * @param root
-    * @param publicId
-    * @param systemId
-    */
-   @XmlTransient
-   public void setDTD(String root, String publicId, String systemId)
-   {
-      this.dtdPublicId = publicId;
-      this.dtdSystemId = systemId;
-   }
-   /**
-    * Get the DTD public id if one was seen
-    * @return the value of the web.xml dtd public id
-    */
-   @XmlTransient
-   public String getDtdPublicId()
-   {
-      return dtdPublicId;
-   }
-   /**
-    * Get the DTD system id if one was seen
-    * @return the value of the web.xml dtd system id
-    */
-   @XmlTransient
-   public String getDtdSystemId()
-   {
-      return dtdSystemId;
-   }
-   /**
-    * Get the connector version
-    * 
-    * @return the connector version
-    */
-   public String getVersion()
-   {
-      return version;
-   }
-   /**
-    * Set the connector version
-    * 
-    * @param version the connector version
-    */
-   @XmlAttribute(required=true)
-   public void setVersion(String version)
-   {
-      this.version = version;
-   }
-
-   /**
-    * Is this a servlet 2.3 version application
-    * @return true if this is a javaee 2.3 version application
-    */
-   @XmlTransient
-   public boolean is10()
-   {
-      return dtdPublicId != null && dtdPublicId.equals("-//Sun Microsystems, Inc.//DTD Connector 1.0//EN"); 
-   }
-   @XmlTransient
-   public boolean is15()
-   {
-      return version != null && version.equals("1.5");
-   }
-   @XmlTransient
-   public boolean is16()
-   {
-      return version != null && version.equals("1.6");
-   }
-
-   /**
-    * Get the vendor name
-    * 
-    * @return the vendor name
-    */
-   public String getVendorName()
-   {
-      return vendorName;
-   }
-
-   /**
-    * Set the vendor name
-    * 
-    * @param vendorName the vendor name
-    */
-   @XmlElement(required=true)
-   public void setVendorName(String vendorName)
-   {
-      this.vendorName = vendorName;
-   }
-
-   /**
-    * Get the eis type
-    * 
-    * @return the eis type
-    */
-   public String getEISType()
-   {
-      return eisType;
-   }
-
-   /**
-    * Set the eis Type
-    * 
-    * @param eisType the eis type
-    */
-   @XmlElement(name="eis-type", required=true)
-   public void setEISType(String eisType)
-   {
-      this.eisType = eisType;
-   }
-
-   /**
-    * Get the resource adapter version
-    * 
-    * @return the resource adapter version
-    */
-   public String getRAVersion()
-   {
-      return raVersion;
-   }
-
-   /**
-    * Set the resource adapter version
-    * 
-    * @param version the resource adapter version
-    */
-   @XmlElement(name="resourceadapter-version", required=true)
-   public void setRAVersion(String version)
-   {
-      this.raVersion = version;
-   }
-
-   /**
-    * Get the license
-    * 
-    * @return the license
-    */
-   public LicenseMetaData getLicense()
-   {
-      return lmd;
-   }
-   /**
-    * Get the license
-    * 
-    * @return the license
-    */
-   public void setLicense(LicenseMetaData lmd)
-   {
-      this.lmd = lmd;
-   }
-   
-   @XmlElement(name="resourceadapter", required=true)
-   public void setRa(ResourceAdapterMetaData ra) throws Exception{
-      this.ra = ra;
-   }
-   public ResourceAdapterMetaData getRa() {
-      return ra;
-   }
-      
-   public String toString()
-   {
-      StringBuffer buffer = new StringBuffer();
-      buffer.append("ConnectorMetaData").append('@');
-      buffer.append(Integer.toHexString(System.identityHashCode(this)));
-      buffer.append("[version=").append(version);
-      buffer.append(" vendorName=").append(vendorName);
-      buffer.append(" eisType=").append(eisType);
-      buffer.append(" resourceAdapterVersion=").append(raVersion);
-      buffer.append(" license=").append(lmd);
-      buffer.append(" resourceadapter=").append(ra);
-      buffer.append(']');
-      return buffer.toString();
-   }
-
-}

Copied: projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/ConnectorMetaData.java (from rev 94807, projects/metadata/rar/trunk/src/main/java/org/jboss/metadata/rar/spec/ConnectorMetaData.java)
===================================================================
--- projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/ConnectorMetaData.java	                        (rev 0)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/ConnectorMetaData.java	2009-10-14 07:58:37 UTC (rev 94841)
@@ -0,0 +1,236 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.metadata.rar.spec;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlTransient;
+
+import org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptionGroup;
+
+
+/**
+ * Connector meta data
+ *
+ * @author <a href="mailto:adrian at jboss.com">Adrian Brock</a>
+ * @author Jeff Zhang
+ * @version $Revision: 83806 $
+ */
+public class ConnectorMetaData extends IdMetaDataImplWithDescriptionGroup
+{
+   private static final long serialVersionUID = 7047130842894140222L;
+
+   private String dtdPublicId;
+   private String dtdSystemId;
+   /** The version */
+   private String version;
+
+   /** The vendor name */
+   private String vendorName;
+
+   /** The eis type */
+   private String eisType;
+
+   /** The resource adapter version */
+   private String raVersion;
+
+   /** The license */
+   private LicenseMetaData lmd;
+   
+   private ResourceAdapterMetaData ra;
+
+   /**
+    * Callback for the DTD information
+    * @param root
+    * @param publicId
+    * @param systemId
+    */
+   @XmlTransient
+   public void setDTD(String root, String publicId, String systemId)
+   {
+      this.dtdPublicId = publicId;
+      this.dtdSystemId = systemId;
+   }
+   /**
+    * Get the DTD public id if one was seen
+    * @return the value of the web.xml dtd public id
+    */
+   @XmlTransient
+   public String getDtdPublicId()
+   {
+      return dtdPublicId;
+   }
+   /**
+    * Get the DTD system id if one was seen
+    * @return the value of the web.xml dtd system id
+    */
+   @XmlTransient
+   public String getDtdSystemId()
+   {
+      return dtdSystemId;
+   }
+   /**
+    * Get the connector version
+    * 
+    * @return the connector version
+    */
+   public String getVersion()
+   {
+      return version;
+   }
+   /**
+    * Set the connector version
+    * 
+    * @param version the connector version
+    */
+   @XmlAttribute(required=true)
+   public void setVersion(String version)
+   {
+      this.version = version;
+   }
+
+   /**
+    * Is this a servlet 2.3 version application
+    * @return true if this is a javaee 2.3 version application
+    */
+   @XmlTransient
+   public boolean is10()
+   {
+      return dtdPublicId != null && dtdPublicId.equals("-//Sun Microsystems, Inc.//DTD Connector 1.0//EN"); 
+   }
+   @XmlTransient
+   public boolean is15()
+   {
+      return version != null && version.equals("1.5");
+   }
+   @XmlTransient
+   public boolean is16()
+   {
+      return version != null && version.equals("1.6");
+   }
+
+   /**
+    * Get the vendor name
+    * 
+    * @return the vendor name
+    */
+   public String getVendorName()
+   {
+      return vendorName;
+   }
+
+   /**
+    * Set the vendor name
+    * 
+    * @param vendorName the vendor name
+    */
+   @XmlElement()
+   public void setVendorName(String vendorName)
+   {
+      this.vendorName = vendorName;
+   }
+
+   /**
+    * Get the eis type
+    * 
+    * @return the eis type
+    */
+   public String getEISType()
+   {
+      return eisType;
+   }
+
+   /**
+    * Set the eis Type
+    * 
+    * @param eisType the eis type
+    */
+   @XmlElement(name="eis-type")
+   public void setEISType(String eisType)
+   {
+      this.eisType = eisType;
+   }
+
+   /**
+    * Get the resource adapter version
+    * 
+    * @return the resource adapter version
+    */
+   public String getRAVersion()
+   {
+      return raVersion;
+   }
+
+   /**
+    * Set the resource adapter version
+    * 
+    * @param version the resource adapter version
+    */
+   @XmlElement(name="resourceadapter-version")
+   public void setRAVersion(String version)
+   {
+      this.raVersion = version;
+   }
+
+   /**
+    * Get the license
+    * 
+    * @return the license
+    */
+   public LicenseMetaData getLicense()
+   {
+      return lmd;
+   }
+   /**
+    * Get the license
+    * 
+    * @return the license
+    */
+   public void setLicense(LicenseMetaData lmd)
+   {
+      this.lmd = lmd;
+   }
+   
+   @XmlElement(name="resourceadapter", required=true)
+   public void setRa(ResourceAdapterMetaData ra) throws Exception{
+      this.ra = ra;
+   }
+   public ResourceAdapterMetaData getRa() {
+      return ra;
+   }
+      
+   public String toString()
+   {
+      StringBuffer buffer = new StringBuffer();
+      buffer.append("ConnectorMetaData").append('@');
+      buffer.append(Integer.toHexString(System.identityHashCode(this)));
+      buffer.append("[version=").append(version);
+      buffer.append(" vendorName=").append(vendorName);
+      buffer.append(" eisType=").append(eisType);
+      buffer.append(" resourceAdapterVersion=").append(raVersion);
+      buffer.append(" license=").append(lmd);
+      buffer.append(" resourceadapter=").append(ra);
+      buffer.append(']');
+      return buffer.toString();
+   }
+
+}

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/JCA16Base.java
===================================================================
--- projects/metadata/rar/trunk/src/main/java/org/jboss/metadata/rar/spec/JCA16Base.java	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/JCA16Base.java	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,71 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.metadata.rar.spec;
-
-import java.util.List;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlNs;
-import javax.xml.bind.annotation.XmlNsForm;
-import javax.xml.bind.annotation.XmlRootElement;
-import javax.xml.bind.annotation.XmlType;
-
-import org.jboss.metadata.javaee.spec.JavaEEMetaDataConstants;
-import org.jboss.xb.annotations.JBossXmlSchema;
-
-/**
- * JCA 1.6 base meta data
- *
- * @author Jeff Zhang
- * @version $Revision: $
- */
-public class JCA16Base extends ConnectorMetaData
-{
-   private static final long serialVersionUID = 7047130842394140262L;
-   
-   private boolean metadataComplete;
-   private List<String> requiredWorkContexts;
-   
-   
-   public boolean isMetadataComplete() 
-   {
-      return metadataComplete;
-   }
-   
-   @XmlAttribute(required=true)
-   public void setMetadataComplete(boolean metadataComplete) 
-   {
-      this.metadataComplete = metadataComplete;
-   }
-   
-   public List<String> getRequiredWorkContexts() 
-   {
-      return requiredWorkContexts;
-   }
-   
-   @XmlElement(name = "required-work-context")
-   public void setRequiredWorkContexts(List<String> requiredWorkContexts) 
-   {
-      this.requiredWorkContexts = requiredWorkContexts;
-   }
-}

Copied: projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/JCA16Base.java (from rev 94807, projects/metadata/rar/trunk/src/main/java/org/jboss/metadata/rar/spec/JCA16Base.java)
===================================================================
--- projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/JCA16Base.java	                        (rev 0)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/JCA16Base.java	2009-10-14 07:58:37 UTC (rev 94841)
@@ -0,0 +1,71 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.metadata.rar.spec;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlNs;
+import javax.xml.bind.annotation.XmlNsForm;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+import org.jboss.metadata.javaee.spec.JavaEEMetaDataConstants;
+import org.jboss.xb.annotations.JBossXmlSchema;
+
+/**
+ * JCA 1.6 base meta data
+ *
+ * @author Jeff Zhang
+ * @version $Revision: $
+ */
+public class JCA16Base extends ConnectorMetaData
+{
+   private static final long serialVersionUID = 7047130842394140262L;
+   
+   private boolean metadataComplete;
+   private List<String> requiredWorkContexts;
+   
+   
+   public boolean isMetadataComplete() 
+   {
+      return metadataComplete;
+   }
+   
+   @XmlAttribute
+   public void setMetadataComplete(boolean metadataComplete) 
+   {
+      this.metadataComplete = metadataComplete;
+   }
+   
+   public List<String> getRequiredWorkContexts() 
+   {
+      return requiredWorkContexts;
+   }
+   
+   @XmlElement(name = "required-work-context")
+   public void setRequiredWorkContexts(List<String> requiredWorkContexts) 
+   {
+      this.requiredWorkContexts = requiredWorkContexts;
+   }
+}

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/OutboundRaMetaData.java
===================================================================
--- projects/metadata/rar/trunk/src/main/java/org/jboss/metadata/rar/spec/OutboundRaMetaData.java	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/OutboundRaMetaData.java	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,93 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.metadata.rar.spec;
-
-import java.util.List;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlType;
-import org.jboss.metadata.javaee.support.IdMetaDataImpl;
-
-/**
- * outbound ResourceAdapter meta data
- *
- * @author Jeff Zhang
- * @version $Revision: 83806 $
- */
- at XmlType(name="outbound-resourceadapterType", propOrder={"conDefs", "transSupport", "authMechanisms", "reAuthSupport"})
-public class OutboundRaMetaData extends IdMetaDataImpl
-{
-   private static final long serialVersionUID = -1583292998339497984L;
-
-   private List<ConnectionDefinitionMetaData> conDefs;
-   private TransactionSupportMetaData transSupport;
-   private List<AuthenticationMechanismMetaData> authMechanisms;
-   private boolean reAuthSupport;
-
-   @XmlElement(name="connection-definition", required=true)
-   public void setConDefs(List<ConnectionDefinitionMetaData> conDefs) {
-      this.conDefs = conDefs;
-   }
-
-   public List<ConnectionDefinitionMetaData> getConDefs() {
-      return conDefs;
-   }
-
-   @XmlElement(name="transaction-support", required=true)
-   public void setTransSupport(TransactionSupportMetaData transSupport) {
-      this.transSupport = transSupport;
-   }
-
-   public TransactionSupportMetaData getTransSupport() {
-      return transSupport;
-   }
-
-   @XmlElement(name="authentication-mechanism")
-   public void setAuthMechanisms(List<AuthenticationMechanismMetaData> authMechanisms) {
-      this.authMechanisms = authMechanisms;
-   }
-
-   public List<AuthenticationMechanismMetaData> getAuthMechanisms() {
-      return authMechanisms;
-   }
-
-   @XmlElement(name="reauthentication-support", required=true)
-   public void setReAuthSupport(boolean reAuthSupport) {
-      this.reAuthSupport = reAuthSupport;
-   }
-
-   public boolean isReAuthSupport() {
-      return reAuthSupport;
-   }
-   
-   public String toString()
-   {
-      StringBuffer buffer = new StringBuffer();
-      buffer.append("OutboundRaMetaData").append('@');
-      buffer.append(Integer.toHexString(System.identityHashCode(this)));
-      buffer.append("[ConnectionDefinition=").append(conDefs);
-      buffer.append(" transSupport=").append(transSupport);
-      buffer.append(" authMechanisms=").append(authMechanisms);
-      buffer.append(" reAuthSupport=").append(reAuthSupport);
-      buffer.append(']');
-      return buffer.toString();
-   }
-}

Copied: projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/OutboundRaMetaData.java (from rev 94807, projects/metadata/rar/trunk/src/main/java/org/jboss/metadata/rar/spec/OutboundRaMetaData.java)
===================================================================
--- projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/OutboundRaMetaData.java	                        (rev 0)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/main/java/org/jboss/metadata/rar/spec/OutboundRaMetaData.java	2009-10-14 07:58:37 UTC (rev 94841)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.metadata.rar.spec;
+
+import java.util.List;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.metadata.javaee.support.IdMetaDataImpl;
+
+/**
+ * outbound ResourceAdapter meta data
+ *
+ * @author Jeff Zhang
+ * @version $Revision: 83806 $
+ */
+ at XmlType(name="outbound-resourceadapterType", propOrder={"conDefs", "transSupport", "authMechanisms", "reAuthSupport"})
+public class OutboundRaMetaData extends IdMetaDataImpl
+{
+   private static final long serialVersionUID = -1583292998339497984L;
+
+   private List<ConnectionDefinitionMetaData> conDefs;
+   private TransactionSupportMetaData transSupport;
+   private List<AuthenticationMechanismMetaData> authMechanisms;
+   private boolean reAuthSupport;
+
+   @XmlElement(name="connection-definition")
+   public void setConDefs(List<ConnectionDefinitionMetaData> conDefs) {
+      this.conDefs = conDefs;
+   }
+
+   public List<ConnectionDefinitionMetaData> getConDefs() {
+      return conDefs;
+   }
+
+   @XmlElement(name="transaction-support")
+   public void setTransSupport(TransactionSupportMetaData transSupport) {
+      this.transSupport = transSupport;
+   }
+
+   public TransactionSupportMetaData getTransSupport() {
+      return transSupport;
+   }
+
+   @XmlElement(name="authentication-mechanism")
+   public void setAuthMechanisms(List<AuthenticationMechanismMetaData> authMechanisms) {
+      this.authMechanisms = authMechanisms;
+   }
+
+   public List<AuthenticationMechanismMetaData> getAuthMechanisms() {
+      return authMechanisms;
+   }
+
+   @XmlElement(name="reauthentication-support")
+   public void setReAuthSupport(boolean reAuthSupport) {
+      this.reAuthSupport = reAuthSupport;
+   }
+
+   public boolean isReAuthSupport() {
+      return reAuthSupport;
+   }
+   
+   public String toString()
+   {
+      StringBuffer buffer = new StringBuffer();
+      buffer.append("OutboundRaMetaData").append('@');
+      buffer.append(Integer.toHexString(System.identityHashCode(this)));
+      buffer.append("[ConnectionDefinition=").append(conDefs);
+      buffer.append(" transSupport=").append(transSupport);
+      buffer.append(" authMechanisms=").append(authMechanisms);
+      buffer.append(" reAuthSupport=").append(reAuthSupport);
+      buffer.append(']');
+      return buffer.toString();
+   }
+}

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16EverythingUnitTestCase.java
===================================================================
--- projects/metadata/rar/trunk/src/test/java/org/jboss/test/metadata/rar/RA16EverythingUnitTestCase.java	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16EverythingUnitTestCase.java	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,91 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.metadata.rar;
-
-import org.jboss.metadata.rar.spec.ActivationspecMetaData;
-import org.jboss.metadata.rar.spec.JCA16MetaData;
-
-/**
- * Test ResourceAdapter ra.xml metadata.
- *
- * @author Jeff Zhang
- * @version $Revision: 89782 $
- */
-public class RA16EverythingUnitTestCase extends BaseRAUnitTestCase
-{
-   public RA16EverythingUnitTestCase(String name)
-   {
-      super(name);
-   }
-   
-   public void testEverything() throws Exception
-   {
-      JCA16MetaData connector = unmarshal();
-      assertNotNull(connector);
-      assertEverything(connector);
-   }
-   
-   public void testMinimal() throws Exception
-   {
-      JCA16MetaData connector = unmarshal();
-      assertNotNull(connector);
-      assertTrue(connector.getVendorName().startsWith("Red"));
-      assertTrue(connector.getEISType().startsWith("JMS"));
-      assertEquals(connector.getRAVersion(), getRAVersion());
-      assertNotNull(connector.getRa());
-      assertNull(connector.getRa().getRaClass());
-      assertNull(connector.getRa().getConfigProperty());
-      assertNull(connector.getRa().getOutboundRa());
-      assertNull(connector.getRa().getInboundRa());
-      assertNull(connector.getRa().getAdminObjects());
-      assertNull(connector.getRa().getSecurityPermissions());
-   }
-   
-   protected JCA16MetaData unmarshal() throws Exception
-   {
-      return unmarshal(JCA16MetaData.class);
-   }
-   
-   protected void assertEverything(JCA16MetaData connector) throws Exception
-   {
-      assertDescriptionGroup("connector", connector.getDescriptionGroup());
-      assertGeneralInfo(connector);
-      assertTrue(connector.isMetadataComplete());
-      assertRA(connector.getRa());
-      assertEquals(connector.getRequiredWorkContexts().size(), 2);
-      assertEquals(connector.getRequiredWorkContexts().get(0), "java.work.Context1");
-   }
-   
-   @Override
-   protected String getRAVersion()
-   {
-      return "6.0";
-   }
-   
-   @Override
-   protected void assertConfigPropsInAS(ActivationspecMetaData as)
-   {
-      assertNotNull(as.getConfigProps());
-      assertFalse(as.getConfigProps().isEmpty());
-   }
-
-}

Copied: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16EverythingUnitTestCase.java (from rev 94807, projects/metadata/rar/trunk/src/test/java/org/jboss/test/metadata/rar/RA16EverythingUnitTestCase.java)
===================================================================
--- projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16EverythingUnitTestCase.java	                        (rev 0)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16EverythingUnitTestCase.java	2009-10-14 07:58:37 UTC (rev 94841)
@@ -0,0 +1,89 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.metadata.rar;
+
+import org.jboss.metadata.rar.spec.ActivationspecMetaData;
+import org.jboss.metadata.rar.spec.JCA16MetaData;
+
+/**
+ * Test ResourceAdapter ra.xml metadata.
+ *
+ * @author Jeff Zhang
+ * @version $Revision: 89782 $
+ */
+public class RA16EverythingUnitTestCase extends BaseRAUnitTestCase
+{
+   public RA16EverythingUnitTestCase(String name)
+   {
+      super(name);
+   }
+   
+   public void testEverything() throws Exception
+   {
+      JCA16MetaData connector = unmarshal();
+      assertNotNull(connector);
+      assertEverything(connector);
+   }
+   
+   public void testMinimal() throws Exception
+   {
+      JCA16MetaData connector = unmarshal();
+      assertNotNull(connector);
+
+      assertNotNull(connector.getRa());
+      assertNull(connector.getRa().getRaClass());
+      assertNull(connector.getRa().getConfigProperty());
+      assertNull(connector.getRa().getOutboundRa());
+      assertNull(connector.getRa().getInboundRa());
+      assertNull(connector.getRa().getAdminObjects());
+      assertNull(connector.getRa().getSecurityPermissions());
+   }
+   
+   protected JCA16MetaData unmarshal() throws Exception
+   {
+      return unmarshal(JCA16MetaData.class);
+   }
+   
+   protected void assertEverything(JCA16MetaData connector) throws Exception
+   {
+      assertDescriptionGroup("connector", connector.getDescriptionGroup());
+      assertGeneralInfo(connector);
+      assertTrue(connector.isMetadataComplete());
+      assertRA(connector.getRa());
+      assertEquals(connector.getRequiredWorkContexts().size(), 2);
+      assertEquals(connector.getRequiredWorkContexts().get(0), "java.work.Context1");
+   }
+   
+   @Override
+   protected String getRAVersion()
+   {
+      return "6.0";
+   }
+   
+   @Override
+   protected void assertConfigPropsInAS(ActivationspecMetaData as)
+   {
+      assertNotNull(as.getConfigProps());
+      assertFalse(as.getConfigProps().isEmpty());
+   }
+
+}

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16NegativeUnitTestCase.java
===================================================================
--- projects/metadata/rar/trunk/src/test/java/org/jboss/test/metadata/rar/RA16NegativeUnitTestCase.java	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16NegativeUnitTestCase.java	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,449 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.metadata.rar;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.StringWriter;
-import java.io.PrintWriter;
-import java.net.URL;
-
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.jboss.logging.Logger;
-import org.jboss.metadata.rar.spec.JCA16MetaData;
-import org.jboss.test.metadata.javaee.AbstractJavaEEEverythingTest;
-import org.jboss.util.xml.JBossEntityResolver;
-
-import org.xml.sax.EntityResolver;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.DefaultHandler;
-/**
- * Test ResourceAdapter ra.xml metadata.
- *
- * @author Jeff Zhang
- * @version $Revision: 88255 $
- */
-public class RA16NegativeUnitTestCase extends AbstractJavaEEEverythingTest
-{
-   private static final Logger log = Logger.getLogger(RA16NegativeUnitTestCase.class);
-   private static final SAXParserFactory FACTORY;
-   
-   static
-   {
-      FACTORY = SAXParserFactory.newInstance();
-      FACTORY.setNamespaceAware(true);
-      FACTORY.setValidating(true);
-   }
-   private static final EntityResolver RESOLVER = new JBossEntityResolver();
-   
-   // TODO return true to see all the validation issues
-   public static boolean validateSchema()
-   {
-      return false;
-   }
-   
-   public RA16NegativeUnitTestCase(String name)
-   {
-      super(name);
-   }
-
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      // use trace for local test runs only 
-      //enableTrace("org.jboss.xb");
-   }
-
-   /**
-    * test wrong version
-    */
-   public void testParserWrongVersion() throws Exception
-   {
-      JCA16MetaData connector = unmarshal();
-      assertFalse(connector.getVersion().equals("1.6"));
-   }
-   
-   /**
-    * test miss resourceadapter-version
-    */
-   public void testParserRAVersion() throws Exception
-   {
-      negativeParserTest("resourceadapter-version");
-   }
-
-   /**
-    * test miss vendor-name
-    */
-   public void testParserVendorName() throws Exception
-   {
-      negativeParserTest("vendor-name");
-   }
-   
-   /**
-    * test miss eis-type
-    */
-   public void testParserEISType() throws Exception
-   {
-      negativeParserTest("eis-type");
-   }
-   
-   /**
-    * test miss license-required
-    */
-   public void testParserLicenseRequired() throws Exception
-   {
-      negativeParserTest("license-required", false);
-   }
-   
-   /**
-    * test miss resourceadapter
-    */
-   public void testParserRA() throws Exception
-   {
-      negativeParserTest("resourceadapter", false);
-   }
-   
-   /**
-    * test miss config-property-name
-    */
-   public void testParserConfPropName() throws Exception
-   {
-      negativeParserTest("config-property-name");
-   }
-   
-   /**
-    * test miss config-property-type
-    */
-   public void testParserConfPropType() throws Exception
-   {
-      negativeParserTest("config-property-type");
-   }
-   
-   /**
-    * test wrong config-property-type
-    */
-   public void testParserWrongConfPropType() throws Exception
-   {
-      negativeParserTest("config-property-type");
-   }
-      
-   /**
-    * test miss connection-definition
-
-   public void testParserConDef() throws Exception
-   {
-      negativeParserTest("connection-definition", false);
-   }
-     */  
-   /**
-    * test miss reauthentication-support
-   public void testParserReAuth() throws Exception
-   {
-      negativeParserTest("reauthentication-support", false);
-   }
-    */
-   
-   /**
-    * test miss transaction-support
-    */
-   public void testParserTransSupport() throws Exception
-   {
-      negativeParserTest("transaction-support");
-   }
-   
-   /**
-    * test miss managedconnectionfactory-class
-    */
-   public void testParserMCFClass() throws Exception
-   {
-      negativeParserTest("managedconnectionfactory-class");
-   } 
-   
-   /**
-    * test miss connectionfactory-interface
-    */
-   public void testParserCFInterface() throws Exception
-   {
-      negativeParserTest("connectionfactory-interface");
-   } 
-   
-   /**
-    * test miss managedconnectionfactory-class
-    */
-   public void testParserCFImpl() throws Exception
-   {
-      negativeParserTest("connectionfactory-impl-class");
-   } 
-   
-   /**
-    * test miss connection-interface
-    */
-   public void testParserConnectionInterface() throws Exception
-   {
-      negativeParserTest("connection-interface");
-   } 
-   
-   /**
-    * test miss connection-impl-class
-    */
-   public void testParserConnectionImpl() throws Exception
-   {
-      negativeParserTest("connection-impl-class", false);
-   } 
-
-   /**
-    * test miss authentication-mechanism-type
-    */
-   public void testParserAuthMechanismType() throws Exception
-   {
-      negativeParserTest("authentication-mechanism-type");
-   }
-
-   /**
-    * test wrong authentication-mechanism-type
-    */
-   public void testWrongAuthMechanismType() throws Exception
-   {
-      negativeParserTest("authentication-mechanism-type");
-   }
-      
-   /**
-    * test miss credential-interface
-    */
-   public void testParserCredInterface() throws Exception
-   {
-      negativeParserTest("credential-interface", false);
-   }
-   
-   /**
-    * test wrong credential-interface
-    */
-   public void testParserWrongCredInterface() throws Exception
-   {
-      negativeParserTest("credential-interface");
-   }
-   
-   /**
-    * test miss messagelistener
-    */
-   public void testParserMessageListener() throws Exception
-   {
-      negativeParserTest("messagelistener", false);
-   }
-   
-   /**
-    * test miss messagelistener-type
-    */
-   public void testParserMessageListenerType() throws Exception
-   {
-      negativeParserTest("messagelistener-type", false);
-   }
-   
-   /**
-    * test miss activationspec
-    */
-   public void testParserActivationSpec() throws Exception
-   {
-      negativeParserTest("activationspec", false);
-   }
-   
-   /**
-    * test miss activationspec-class
-    */
-   public void testParserActivationSpecClass() throws Exception
-   {
-      negativeParserTest("activationspec-class");
-   }
-   
-   /**
-    * test miss config-property-name in required-config-property
-    */
-   public void testParserRequiredConfPropName() throws Exception
-   {
-      negativeParserTest("config-property-name", false);
-   }
-      
-   /**
-    * test miss adminobject-interface
-    */
-   public void testParserAoInterface() throws Exception
-   {
-      negativeParserTest("adminobject-interface", false);
-   }
-   
-   /**
-    * test miss adminobject-class
-    */
-   public void testParserAoClass() throws Exception
-   {
-      negativeParserTest("adminobject-class", false);
-   }
-   /**
-    * test miss security-permission-spec
-    */
-   public void testParserSecurityPermSpec() throws Exception
-   {
-      negativeParserTest("security-permission-spec", false);
-   }
-
-   
-   /**
-    * test miss
-    */
-   private void negativeParserTest(String element) throws Exception
-   {
-      negativeParserTest(element, true);
-   }
-   
-   private void negativeParserTest(String element, boolean validateByXB) throws Exception
-   {
-      if (validateByXB)
-      {
-         try
-         {
-            JCA16MetaData connector = unmarshal();
-            fail(getName() + " should be failed since we miss " + element);
-         } catch (Exception expected)
-         {
-            StringWriter sw = new StringWriter();
-            PrintWriter pw = new PrintWriter(sw);
-            expected.printStackTrace(pw);
-            assertTrue(sw.toString().indexOf(element) > 0);
-         }    
-      } else {
-         URL xmlFile = this.getClass().getResource(getTestXmlFileName());
-         assertFalse(isValid(xmlFile, element));
-      }
-   }
-
-   protected JCA16MetaData unmarshal() throws Exception
-   {
-      return unmarshal(JCA16MetaData.class);
-   }
-   
-   private String getTestXmlFileName()
-   {
-      String name = getClass().getSimpleName();
-      int index = name.lastIndexOf("UnitTestCase");
-      if (index != -1)
-         name = name.substring(0, index);
-      name = name + "_" + getName() + ".xml";
-      return name;
-   }
-   
-   private static boolean isValid(final URL xmlFile, final String element)
-   {
-      SAXParser parser;      
-      try
-      {
-         parser = FACTORY.newSAXParser();
-      }
-      catch (Exception e)
-      {
-         throw new IllegalStateException("Failed to instantiate a SAX parser: " + e.getMessage());
-      }
-
-      try
-      {
-         parser.getXMLReader().setFeature("http://apache.org/xml/features/validation/schema", true);
-      }
-      catch (SAXException e)
-      {
-         throw new IllegalStateException("Schema validation feature is not supported by the parser: " + e.getMessage());
-      }
-
-      
-      InputStream is;
-      try
-      {
-         is = xmlFile.openStream();
-      }
-      catch (Exception e)
-      {
-         throw new IllegalStateException("Failed to open file: " + xmlFile.getPath(), e);
-      }
-
-      final boolean[] failed = new boolean[1];
-      try
-      {
-         parser.parse(is, new DefaultHandler()
-         {
-            public void warning(SAXParseException e)
-            {
-            }
-
-            public void error(SAXParseException e) throws SAXException
-            {
-               log.error(xmlFile.getPath() + "[" + e.getLineNumber() + ","  + e.getColumnNumber() + "]: " + e.getMessage());
-               failed[0] = true;
-               assertTrue(e.getMessage().indexOf(element) > 0);
-               throw e;
-            }
-
-            public void fatalError(SAXParseException e) throws SAXException
-            {
-               log.error(xmlFile.getPath() + "[" + e.getLineNumber() + ","  + e.getColumnNumber() + "]: " + e.getMessage());
-               failed[0] = true;
-               assertTrue(e.getMessage().indexOf(element) > 0);
-               throw e;
-            }
-
-            public InputSource resolveEntity(String publicId, String systemId) throws SAXException
-            {
-               InputSource is = null;
-               if (RESOLVER != null)
-               {
-                  try
-                  {
-                     is = RESOLVER.resolveEntity(publicId, systemId);
-                  }
-                  catch (Exception e)
-                  {
-                     throw new IllegalStateException("Failed to resolveEntity " + systemId + ": " + systemId);
-                  }
-               }
-
-               if (is == null)
-               {
-                  throw new SAXException("Failed to resolve entity: publicId=" + publicId + " systemId=" + systemId);
-               }
-
-               return is;
-            }
-         });
-      }
-      catch(SAXException e)
-      {
-      }
-      catch (IOException e)
-      {
-         throw new IllegalStateException("Failed to read file: " + xmlFile.getPath(), e);
-      }
-
-      return !failed[0];
-   }
-}

Copied: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16NegativeUnitTestCase.java (from rev 94807, projects/metadata/rar/trunk/src/test/java/org/jboss/test/metadata/rar/RA16NegativeUnitTestCase.java)
===================================================================
--- projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16NegativeUnitTestCase.java	                        (rev 0)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/java/org/jboss/test/metadata/rar/RA16NegativeUnitTestCase.java	2009-10-14 07:58:37 UTC (rev 94841)
@@ -0,0 +1,409 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2008, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.metadata.rar;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.StringWriter;
+import java.io.PrintWriter;
+import java.net.URL;
+
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.jboss.logging.Logger;
+import org.jboss.metadata.rar.spec.JCA16MetaData;
+import org.jboss.test.metadata.javaee.AbstractJavaEEEverythingTest;
+import org.jboss.util.xml.JBossEntityResolver;
+
+import org.xml.sax.EntityResolver;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.helpers.DefaultHandler;
+/**
+ * Test ResourceAdapter ra.xml metadata.
+ *
+ * @author Jeff Zhang
+ * @version $Revision: 88255 $
+ */
+public class RA16NegativeUnitTestCase extends AbstractJavaEEEverythingTest
+{
+   private static final Logger log = Logger.getLogger(RA16NegativeUnitTestCase.class);
+   private static final SAXParserFactory FACTORY;
+   
+   static
+   {
+      FACTORY = SAXParserFactory.newInstance();
+      FACTORY.setNamespaceAware(true);
+      FACTORY.setValidating(true);
+   }
+   private static final EntityResolver RESOLVER = new JBossEntityResolver();
+   
+   // TODO return true to see all the validation issues
+   public static boolean validateSchema()
+   {
+      return false;
+   }
+   
+   public RA16NegativeUnitTestCase(String name)
+   {
+      super(name);
+   }
+
+   protected void setUp() throws Exception
+   {
+      super.setUp();
+      // use trace for local test runs only 
+      //enableTrace("org.jboss.xb");
+   }
+
+   /**
+    * test wrong version
+    */
+   public void testParserWrongVersion() throws Exception
+   {
+      JCA16MetaData connector = unmarshal();
+      assertFalse(connector.getVersion().equals("1.6"));
+   }
+
+   /**
+    * test miss license-required
+    */
+   public void testParserLicenseRequired() throws Exception
+   {
+      negativeParserTest("license-required", false);
+   }
+   
+   /**
+    * test miss resourceadapter
+    */
+   public void testParserRA() throws Exception
+   {
+      negativeParserTest("resourceadapter", false);
+   }
+   
+   /**
+    * test miss config-property-name
+    */
+   public void testParserConfPropName() throws Exception
+   {
+      negativeParserTest("config-property-name");
+   }
+   
+   /**
+    * test miss config-property-type
+    */
+   public void testParserConfPropType() throws Exception
+   {
+      negativeParserTest("config-property-type");
+   }
+   
+   /**
+    * test wrong config-property-type
+    */
+   public void testParserWrongConfPropType() throws Exception
+   {
+      negativeParserTest("config-property-type");
+   }
+   
+   /**
+    * test miss transaction-support
+    */
+   public void testParserTransSupport() throws Exception
+   {
+      negativeParserTest("transaction-support");
+   }
+   
+   /**
+    * test miss managedconnectionfactory-class
+    */
+   public void testParserMCFClass() throws Exception
+   {
+      negativeParserTest("managedconnectionfactory-class");
+   } 
+   
+   /**
+    * test miss connectionfactory-interface
+    */
+   public void testParserCFInterface() throws Exception
+   {
+      negativeParserTest("connectionfactory-interface");
+   } 
+   
+   /**
+    * test miss managedconnectionfactory-class
+    */
+   public void testParserCFImpl() throws Exception
+   {
+      negativeParserTest("connectionfactory-impl-class");
+   } 
+   
+   /**
+    * test miss connection-interface
+    */
+   public void testParserConnectionInterface() throws Exception
+   {
+      negativeParserTest("connection-interface");
+   } 
+   
+   /**
+    * test miss connection-impl-class
+    */
+   public void testParserConnectionImpl() throws Exception
+   {
+      negativeParserTest("connection-impl-class", false);
+   } 
+
+   /**
+    * test miss authentication-mechanism-type
+    */
+   public void testParserAuthMechanismType() throws Exception
+   {
+      negativeParserTest("authentication-mechanism-type");
+   }
+
+   /**
+    * test wrong authentication-mechanism-type
+    */
+   public void testWrongAuthMechanismType() throws Exception
+   {
+      negativeParserTest("authentication-mechanism-type");
+   }
+      
+   /**
+    * test miss credential-interface
+    */
+   public void testParserCredInterface() throws Exception
+   {
+      negativeParserTest("credential-interface", false);
+   }
+   
+   /**
+    * test wrong credential-interface
+    */
+   public void testParserWrongCredInterface() throws Exception
+   {
+      negativeParserTest("credential-interface");
+   }
+   
+   /**
+    * test miss messagelistener
+    */
+   public void testParserMessageListener() throws Exception
+   {
+      negativeParserTest("messagelistener", false);
+   }
+   
+   /**
+    * test miss messagelistener-type
+    */
+   public void testParserMessageListenerType() throws Exception
+   {
+      negativeParserTest("messagelistener-type", false);
+   }
+   
+   /**
+    * test miss activationspec
+    */
+   public void testParserActivationSpec() throws Exception
+   {
+      negativeParserTest("activationspec", false);
+   }
+   
+   /**
+    * test miss activationspec-class
+    */
+   public void testParserActivationSpecClass() throws Exception
+   {
+      negativeParserTest("activationspec-class");
+   }
+   
+   /**
+    * test miss config-property-name in required-config-property
+    */
+   public void testParserRequiredConfPropName() throws Exception
+   {
+      negativeParserTest("config-property-name", false);
+   }
+      
+   /**
+    * test miss adminobject-interface
+    */
+   public void testParserAoInterface() throws Exception
+   {
+      negativeParserTest("adminobject-interface", false);
+   }
+   
+   /**
+    * test miss adminobject-class
+    */
+   public void testParserAoClass() throws Exception
+   {
+      negativeParserTest("adminobject-class", false);
+   }
+   /**
+    * test miss security-permission-spec
+    */
+   public void testParserSecurityPermSpec() throws Exception
+   {
+      negativeParserTest("security-permission-spec", false);
+   }
+
+   
+   /**
+    * test miss
+    */
+   private void negativeParserTest(String element) throws Exception
+   {
+      negativeParserTest(element, true);
+   }
+   
+   private void negativeParserTest(String element, boolean validateByXB) throws Exception
+   {
+      if (validateByXB)
+      {
+         try
+         {
+            JCA16MetaData connector = unmarshal();
+            fail(getName() + " should be failed since we miss " + element);
+         } catch (Exception expected)
+         {
+            StringWriter sw = new StringWriter();
+            PrintWriter pw = new PrintWriter(sw);
+            expected.printStackTrace(pw);
+            assertTrue(sw.toString().indexOf(element) > 0);
+         }    
+      } else {
+         URL xmlFile = this.getClass().getResource(getTestXmlFileName());
+         assertFalse(isValid(xmlFile, element));
+      }
+   }
+
+   protected JCA16MetaData unmarshal() throws Exception
+   {
+      return unmarshal(JCA16MetaData.class);
+   }
+   
+   private String getTestXmlFileName()
+   {
+      String name = getClass().getSimpleName();
+      int index = name.lastIndexOf("UnitTestCase");
+      if (index != -1)
+         name = name.substring(0, index);
+      name = name + "_" + getName() + ".xml";
+      return name;
+   }
+   
+   private static boolean isValid(final URL xmlFile, final String element)
+   {
+      SAXParser parser;      
+      try
+      {
+         parser = FACTORY.newSAXParser();
+      }
+      catch (Exception e)
+      {
+         throw new IllegalStateException("Failed to instantiate a SAX parser: " + e.getMessage());
+      }
+
+      try
+      {
+         parser.getXMLReader().setFeature("http://apache.org/xml/features/validation/schema", true);
+      }
+      catch (SAXException e)
+      {
+         throw new IllegalStateException("Schema validation feature is not supported by the parser: " + e.getMessage());
+      }
+
+      
+      InputStream is;
+      try
+      {
+         is = xmlFile.openStream();
+      }
+      catch (Exception e)
+      {
+         throw new IllegalStateException("Failed to open file: " + xmlFile.getPath(), e);
+      }
+
+      final boolean[] failed = new boolean[1];
+      try
+      {
+         parser.parse(is, new DefaultHandler()
+         {
+            public void warning(SAXParseException e)
+            {
+            }
+
+            public void error(SAXParseException e) throws SAXException
+            {
+               log.error(xmlFile.getPath() + "[" + e.getLineNumber() + ","  + e.getColumnNumber() + "]: " + e.getMessage());
+               failed[0] = true;
+               assertTrue(e.getMessage().indexOf(element) > 0);
+               throw e;
+            }
+
+            public void fatalError(SAXParseException e) throws SAXException
+            {
+               log.error(xmlFile.getPath() + "[" + e.getLineNumber() + ","  + e.getColumnNumber() + "]: " + e.getMessage());
+               failed[0] = true;
+               assertTrue(e.getMessage().indexOf(element) > 0);
+               throw e;
+            }
+
+            public InputSource resolveEntity(String publicId, String systemId) throws SAXException
+            {
+               InputSource is = null;
+               if (RESOLVER != null)
+               {
+                  try
+                  {
+                     is = RESOLVER.resolveEntity(publicId, systemId);
+                  }
+                  catch (Exception e)
+                  {
+                     throw new IllegalStateException("Failed to resolveEntity " + systemId + ": " + systemId);
+                  }
+               }
+
+               if (is == null)
+               {
+                  throw new SAXException("Failed to resolve entity: publicId=" + publicId + " systemId=" + systemId);
+               }
+
+               return is;
+            }
+         });
+      }
+      catch(SAXException e)
+      {
+      }
+      catch (IOException e)
+      {
+         throw new IllegalStateException("Failed to read file: " + xmlFile.getPath(), e);
+      }
+
+      return !failed[0];
+   }
+}

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Everything_testMinimal.xml
===================================================================
--- projects/metadata/rar/trunk/src/test/resources/org/jboss/test/metadata/rar/RA16Everything_testMinimal.xml	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Everything_testMinimal.xml	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id:  $ -->
-
-<connector xmlns="http://java.sun.com/xml/ns/javaee"
-           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
-           http://java.sun.com/xml/ns/j2ee/connector_1_6.xsd"
-           version="1.6" metadata-complete="true">
-
-   <vendor-name>Red Hat Middleware LLC</vendor-name>
-   <eis-type>JMS 1.1 Server</eis-type>
-   <resourceadapter-version>6.0</resourceadapter-version>
-
-   <resourceadapter>
-   </resourceadapter>
-</connector>

Copied: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Everything_testMinimal.xml (from rev 94807, projects/metadata/rar/trunk/src/test/resources/org/jboss/test/metadata/rar/RA16Everything_testMinimal.xml)
===================================================================
--- projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Everything_testMinimal.xml	                        (rev 0)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Everything_testMinimal.xml	2009-10-14 07:58:37 UTC (rev 94841)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id:  $ -->
+
+<connector xmlns="http://java.sun.com/xml/ns/javaee"
+           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+           http://java.sun.com/xml/ns/j2ee/connector_1_6.xsd"
+           version="1.6">
+
+   <resourceadapter>
+   </resourceadapter>
+</connector>

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserConDef.xml
===================================================================
--- projects/metadata/rar/trunk/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserConDef.xml	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserConDef.xml	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id:  $ -->
-
-<connector xmlns="http://java.sun.com/xml/ns/javaee"
-           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
-           http://java.sun.com/xml/ns/j2ee/connector_1_6.xsd"
-           version="1.6" metadata-complete="true">
-
-   <vendor-name>Red Hat Middleware LLC</vendor-name>
-   <eis-type>JMS 1.1 Server</eis-type>
-   <resourceadapter-version>6.0</resourceadapter-version>
-   <resourceadapter>
-      <outbound-resourceadapter>
-
-         <transaction-support>XATransaction</transaction-support>
-         <reauthentication-support>false</reauthentication-support>
-      </outbound-resourceadapter>
-
-   </resourceadapter>
-</connector>

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserEISType.xml
===================================================================
--- projects/metadata/rar/trunk/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserEISType.xml	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserEISType.xml	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id:  $ -->
-
-<connector xmlns="http://java.sun.com/xml/ns/javaee"
-           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
-           http://java.sun.com/xml/ns/j2ee/connector_1_6.xsd"
-           version="1.6" metadata-complete="true">
-
-   <vendor-name>Red Hat Middleware LLC</vendor-name>
-
-   <resourceadapter-version>6.0</resourceadapter-version>
-
-   <resourceadapter>
-   </resourceadapter>
-</connector>

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserRAVersion.xml
===================================================================
--- projects/metadata/rar/trunk/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserRAVersion.xml	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserRAVersion.xml	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id:  $ -->
-
-<connector xmlns="http://java.sun.com/xml/ns/javaee"
-           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
-           http://java.sun.com/xml/ns/j2ee/connector_1_6.xsd"
-           version="1.6" metadata-complete="true">
-
-   <vendor-name>Red Hat Middleware LLC</vendor-name>
-   <eis-type>JMS 1.1 Server</eis-type>
-
-
-   <resourceadapter>
-   </resourceadapter>
-</connector>

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserReAuth.xml
===================================================================
--- projects/metadata/rar/trunk/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserReAuth.xml	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserReAuth.xml	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id:  $ -->
-
-<connector xmlns="http://java.sun.com/xml/ns/javaee"
-           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
-           http://java.sun.com/xml/ns/j2ee/connector_1_6.xsd"
-           version="1.6" metadata-complete="true">
-
-   <vendor-name>Red Hat Middleware LLC</vendor-name>
-   <eis-type>JMS 1.1 Server</eis-type>
-   <resourceadapter-version>6.0</resourceadapter-version>
-   <resourceadapter>
-      <outbound-resourceadapter>
-         <connection-definition>
-            <managedconnectionfactory-class>org.jboss.resource.adapter.jms.JmsManagedConnectionFactory</managedconnectionfactory-class>
-            <config-property>
-              <description>The jndi name of the provider of connection factories</description>
-              <config-property-name>JmsProviderAdapterJNDI</config-property-name>
-              <config-property-type>java.lang.String</config-property-type>
-              <config-property-value>java:DefaultJMSProvider</config-property-value>
-            </config-property>
-            <connectionfactory-interface>org.jboss.resource.adapter.jms.JmsConnectionFactory</connectionfactory-interface>
-            <connectionfactory-impl-class>org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl</connectionfactory-impl-class>
-            <connection-interface>javax.jms.Session</connection-interface>
-            <connection-impl-class>org.jboss.resource.adapter.jms.JmsSession</connection-impl-class>
-         </connection-definition>
-         <transaction-support>XATransaction</transaction-support>
-
-      </outbound-resourceadapter>
-
-   </resourceadapter>
-</connector>

Deleted: projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserVendorName.xml
===================================================================
--- projects/metadata/rar/trunk/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserVendorName.xml	2009-10-14 01:43:15 UTC (rev 94804)
+++ projects/metadata/rar/tags/2.0.0.Alpha2/src/test/resources/org/jboss/test/metadata/rar/RA16Negative_testParserVendorName.xml	2009-10-14 07:58:37 UTC (rev 94841)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id:  $ -->
-
-<connector xmlns="http://java.sun.com/xml/ns/javaee"
-           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
-           http://java.sun.com/xml/ns/j2ee/connector_1_6.xsd"
-           version="1.6" metadata-complete="true">
-
-
-   <eis-type>JMS 1.1 Server</eis-type>
-   <resourceadapter-version>6.0</resourceadapter-version>
-
-   <resourceadapter>
-   </resourceadapter>
-</connector>




More information about the jboss-cvs-commits mailing list