User: reverbel
Date: 02/04/04 10:07:29
Modified: . build.xml
Log:
Changed iiop-test target so that IIOP tests now run with a client.policy
file. They must access the network to download stub classes on the fly
(or else we would need rmic-generated stubs at the client side).
TODO: Change client.policy files of IIOP tests and grant just what these
tests need, rather than giving them AllPermission.
Revision Changes Path
1.101 +3 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- build.xml 3 Apr 2002 22:50:00 -0000 1.100
+++ build.xml 4 Apr 2002 18:07:28 -0000 1.101
@@ -13,7 +13,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.100 2002/04/03 22:50:00 user57 Exp $ -->
+<!-- $Id: build.xml,v 1.101 2002/04/04 18:07:28 reverbel Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -3035,6 +3035,7 @@
| Run iiop testcases in a single directory by specifing the test
| directory name in -Dtest=dirname in tests/dirname/test/**TestCase.class
-->
+
<target name="iiop-test" depends="maybejars" if="test"
description="Execute a single test.">
<mkdir dir="${build.reports}"/>
@@ -3054,6 +3055,7 @@
<jvmarg value="-Xbootclasspath/p:${jacorb.jacorb.lib}/jacorb.jar"/>
<jvmarg value="-Djava.security.manager"/>
+ <jvmarg
value="-Djava.security.policy==${build.resources}/${test}/client.policy"/>
<sysproperty key="log4j.properties"
file="${build.resources}/log4j.properties"/>
<sysproperty key="jbosstest.threadcount" value="${jbosstest.threadcount}"/>
<sysproperty key="jbosstest.iterationcount"
value="${jbosstest.iterationcount}"/>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development