User: starksm
Date: 01/05/10 22:11:28
Modified: src/build build.xml run_tests.xml
Log:
Update the naming tests to use the new abbreviated resource-ref mapping
syntax in addition to the resource-ref/resource-managers syntax
Revision Changes Path
1.30 +1 -0 jbosstest/src/build/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/build/build.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- build.xml 2001/05/08 23:00:23 1.29
+++ build.xml 2001/05/11 05:11:28 1.30
@@ -43,6 +43,7 @@
<pathelement location="${src.lib.dir}/jbossmq-client.jar" />
<pathelement location="${src.lib.dir}/jbosssx-client.jar" />
<pathelement location="${src.lib.dir}/log4j.jar" />
+ <pathelement location="${src.lib.dir}/mail.jar" />
<pathelement location="${build.classes.dir}" />
</path>
<property name="classpath" refid="base.path"/>
1.7 +7 -1 jbosstest/src/build/run_tests.xml
Index: run_tests.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/build/run_tests.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- run_tests.xml 2001/05/05 20:54:05 1.6
+++ run_tests.xml 2001/05/11 05:11:28 1.7
@@ -2,7 +2,7 @@
<!-- An ant build file for running the test code against a
JBoss server dist
-$Revision: 1.6 $
+$Revision: 1.7 $
-->
<project name="JBossUnitTests" default="run-tests" basedir="../../">
@@ -137,6 +137,10 @@
complete successfully.
-->
<target name="security-tests" if="security.configured">
+ <antcall target="do-security-tests" />
+ </target>
+
+ <target name="do-security-tests">
<!-- We need to jar this test up so that the Main2.SecurityDelegate
class is in a speparate jar so that it has a codesource distinct from
the rest of the code. This allows us to remove all the Java2
@@ -197,6 +201,8 @@
-->
<target name="run-testcase" if="testcase">
<junit printsummary="no" haltonfailure="no" fork="true">
+ <jvmarg value="-Djava.security.manager" />
+ <jvmarg
value="-Djava.security.policy=${src.resources}/security/tst.policy" />
<jvmarg value="-Djbosstest.deploy.dir=${build.deploy.dir}" />
<classpath>
<path refid="test.classpath" />
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development