[jboss-cvs] JBossAS SVN: r61759 - trunk/ejb3.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Mar 27 16:16:24 EDT 2007


Author: bdecoste
Date: 2007-03-27 16:16:24 -0400 (Tue, 27 Mar 2007)
New Revision: 61759

Modified:
   trunk/ejb3/build-test.xml
Log:
tests that mimic failed TCK EJB3 security tests for @RunAsPrincipal

Modified: trunk/ejb3/build-test.xml
===================================================================
--- trunk/ejb3/build-test.xml	2007-03-27 20:14:53 UTC (rev 61758)
+++ trunk/ejb3/build-test.xml	2007-03-27 20:16:24 UTC (rev 61759)
@@ -2626,7 +2626,25 @@
          </fileset>
       </jar>
    </target>
+   
+   <target name="tck5sec"
+      description="Builds all jar files."
+      depends="compile-classes">
 
+      <mkdir dir="${build.lib}"/>
+
+      <jar jarfile="${build.lib}/tck5sec-test.jar">
+         <fileset dir="${build.classes}">
+            <include name="org/jboss/ejb3/test/tck5sec/*.class"/>
+         </fileset>
+         <fileset dir="${resources}/test/tck5sec">
+            <include name="META-INF/*.xml"/>
+            <include name="users.properties"/>
+            <include name="roles.properties"/>
+         </fileset>
+      </jar>
+   </target>
+
    <target name="security"
       description="Builds all jar files."
       depends="compile-classes">
@@ -3131,7 +3149,7 @@
 	  </copy>
    </target>
    
-   <target name="jars" depends="invalidtxmdb, descriptortypo, libdeployment, homeinterface, timestampentity, arjuna, mdbtransactions, unauthenticatedprincipal, clusteredservice, invoker, classloader, 
+   <target name="jars" depends="appclient, tck5sec, invalidtxmdb, descriptortypo, libdeployment, homeinterface, timestampentity, arjuna, mdbtransactions, unauthenticatedprincipal, clusteredservice, invoker, classloader, 
       circulardependency, jsp, timerdependency, servicedependency, servlet, stateless14, webservices, ear, ejbthree440, 
       ejbthree454, ejbthree653, ejbthree670, ejbthree712, ejbthree751, aspectdomain, ejbcontext, schema, mail, scopedclassloader, dependency, 
       securitydomain, enventry, 
@@ -3163,6 +3181,9 @@
       <condition property="client.run.classpath" value="security.client.classpath">
          <equals arg1="${test}" arg2="security"/>
       </condition>
+      <condition property="client.run.classpath" value="security.client.classpath">
+         <equals arg1="${test}" arg2="tck5sec"/>
+      </condition>
       <condition property="client.run.classpath" value="dd.web.client.classpath">
          <equals arg1="${test}" arg2="dd/web"/>
       </condition>
@@ -3777,6 +3798,9 @@
          <param name="test" value="bmt"/>
       </antcall>
       <antcall target="test" inheritRefs="true">
+         <param name="test" value="appclient"/>
+      </antcall>
+      <antcall target="test" inheritRefs="true">
          <param name="test" value="regression/ejbthree249"/>
       </antcall>
       <antcall target="test" inheritRefs="true">
@@ -3906,6 +3930,9 @@
          <param name="test" value="securitydomain"/>
       </antcall>
       <antcall target="test" inheritRefs="true">
+         <param name="test" value="tck5sec"/>
+      </antcall>
+      <antcall target="test" inheritRefs="true">
          <param name="test" value="naming"/>
       </antcall>
       <antcall target="test" inheritRefs="true">




More information about the jboss-cvs-commits mailing list