[jboss-cvs] JBossAS SVN: r102480 - in trunk/testsuite: src/main/org/jboss/test/deployers/seam/test and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Mar 16 14:45:37 EDT 2010


Author: smcgowan at redhat.com
Date: 2010-03-16 14:45:37 -0400 (Tue, 16 Mar 2010)
New Revision: 102480

Added:
   trunk/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamDvdstoreExampleUnitTestCase.java
Removed:
   trunk/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamDvdExampleUnitTestCase.java
   trunk/testsuite/src/resources/deployers/seam/booking/
   trunk/testsuite/src/resources/deployers/seam/dvd/
   trunk/testsuite/src/resources/deployers/seam/numberguess/
Modified:
   trunk/testsuite/imports/sections/seam.xml
Log:
JBAS-7594 - update SEAM examples to 2.2.1.CR1

Modified: trunk/testsuite/imports/sections/seam.xml
===================================================================
--- trunk/testsuite/imports/sections/seam.xml	2010-03-16 18:31:56 UTC (rev 102479)
+++ trunk/testsuite/imports/sections/seam.xml	2010-03-16 18:45:37 UTC (rev 102480)
@@ -1,37 +1,35 @@
 <project name="tests-seam-jars" xmlns:maven="antlib:org.apache.maven.artifact.ant">
 
    <property name="seam_version" value="2.1.0.GA"/>
-   <property name="seam_dvd_version" value="2.1.0.SP1"/>
-   <property name="seam2_version" value="2.2.0.GA"/>
+   <property name="seam2_version" value="2.2.1.CR1"/>
 
    <target name="_jars-seam" depends="init-maven-ant-tasks">
    	
       <mkdir dir="${build.lib}"/>
 
-<!--
       <maven:dependencies filesetId="examples.fileset" versionsId="examples.versions">
           <dependency groupId="org.jboss.seam.examples" artifactId="jboss-seam-booking" version="${seam2_version}" type="ear"/>
       	  <dependency groupId="org.jboss.seam.examples" artifactId="jboss-seam-booking" version="${seam2_version}" type="xml" classifier="ds"/>
-      	  <dependency groupId="org.jboss.seam.examples" artifactId="jboss-seam-dvd" version="${seam_dvd_version}" type="ear"/>
-      	  <dependency groupId="org.jboss.seam.examples" artifactId="jboss-seam-dvd" version="${seam_dvd_version}" type="xml" classifier="ds"/>
+      	  <dependency groupId="org.jboss.seam.examples" artifactId="jboss-seam-dvdstore" version="${seam2_version}" type="ear"/>
+      	  <dependency groupId="org.jboss.seam.examples" artifactId="jboss-seam-dvdstore" version="${seam2_version}" type="xml" classifier="ds"/>
       	  <dependency groupId="org.jboss.seam.examples" artifactId="jboss-seam-numberguess" version="${seam2_version}" type="ear"/>
-      	  <dependency groupId="org.jboss.seam.examples" artifactId="jboss-seam-jpa" version="${seam_version}" type="war"/>
+   <!--   <dependency groupId="org.jboss.seam.examples" artifactId="jboss-seam-jpa" version="${seam_version}" type="war"/>  -->
       	  <remoterepository id="repository.jboss.org" url="http://repository.jboss.org/maven2"/>
       	  <remoterepository id="snapshots.jboss.org" url="http://snapshots.jboss.org/maven2"/>
       </maven:dependencies>
    	
-   	  <copy todir="${build.lib}">
-   		  <fileset refid="examples.fileset" />
-   		  <mapper classpathref="maven-ant-tasks.classpath" classname="org.apache.maven.artifact.ant.VersionMapper" from="${examples.versions}" to="flatten" />
-   	  </copy>
--->
+      <copy todir="${build.lib}">
+   	<fileset refid="examples.fileset" />
+   	  <mapper classpathref="maven-ant-tasks.classpath"
+   	  	  classname="org.apache.maven.artifact.ant.VersionMapper" from="${examples.versions}" to="flatten" />
+      </copy>
 
-         <!-- JBAS-7594 -->
-         <copy todir="${build.lib}" overwrite="true" flatten="true">
-         	<fileset dir="${source.resources}/deployers/seam">
-            		<include name="*/*.*"/>
-         	</fileset>
-	</copy>
+      <!-- JBAS-7594 - Copy jboss-seam-jpa.war till the example is updated -->
+      <copy todir="${build.lib}" overwrite="true" flatten="true">
+        <fileset dir="${source.resources}/deployers/seam">
+          <include name="*/*.*"/>
+        </fileset>
+      </copy>
    	
    </target>
    	  	

Deleted: trunk/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamDvdExampleUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamDvdExampleUnitTestCase.java	2010-03-16 18:31:56 UTC (rev 102479)
+++ trunk/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamDvdExampleUnitTestCase.java	2010-03-16 18:45:37 UTC (rev 102480)
@@ -1,42 +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.test.deployers.seam.test;
-
-import junit.framework.Test;
-
-/**
- * Test Seam Dvd example.
- *
- * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
- */
-public class SeamDvdExampleUnitTestCase extends SeamExampleTest
-{
-   public SeamDvdExampleUnitTestCase(String test)
-   {
-      super(test);
-   }
-
-   public static Test suite() throws Exception
-   {
-      return deploy(SeamDvdExampleUnitTestCase.class);
-   }
-}

Copied: trunk/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamDvdstoreExampleUnitTestCase.java (from rev 102437, trunk/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamDvdExampleUnitTestCase.java)
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamDvdstoreExampleUnitTestCase.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/deployers/seam/test/SeamDvdstoreExampleUnitTestCase.java	2010-03-16 18:45:37 UTC (rev 102480)
@@ -0,0 +1,42 @@
+/*
+ * 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.test.deployers.seam.test;
+
+import junit.framework.Test;
+
+/**
+ * Test Seam Dvd example.
+ *
+ * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
+ */
+public class SeamDvdstoreExampleUnitTestCase extends SeamExampleTest
+{
+   public SeamDvdstoreExampleUnitTestCase(String test)
+   {
+      super(test);
+   }
+
+   public static Test suite() throws Exception
+   {
+      return deploy(SeamDvdstoreExampleUnitTestCase.class);
+   }
+}




More information about the jboss-cvs-commits mailing list