|
From: Anil S. <osd...@us...> - 2005-01-05 01:03:37
|
User: osdchicago Date: 05/01/04 17:03:22 Modified: . build.xml Log: New target tests-scout-jaxr Revision Changes Path 1.434 +69 -2 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.433 retrieving revision 1.434 diff -u -r1.433 -r1.434 --- build.xml 23 Dec 2004 21:59:04 -0000 1.433 +++ build.xml 5 Jan 2005 01:03:17 -0000 1.434 @@ -6,7 +6,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.433 2004/12/23 21:59:04 starksm Exp $ --> +<!-- $Id: build.xml,v 1.434 2005/01/05 01:03:17 osdchicago Exp $ --> <project default="main" name="JBoss/Testsuite"> <import file="../tools/etc/buildmagic/build-common.xml"/> @@ -499,7 +499,7 @@ <exclude name="org/jboss/test/xml/*TestCase.class"/> </patternset> <patternset id="jaxr.includes"> - <include name="org/jboss/test/jaxr/**/*TestCase.class"/> + <include name="org/jboss/test/jaxr/scout/**/*TestCase.class"/> </patternset> <!-- Tests that are currently broken --> @@ -1748,6 +1748,73 @@ </junit> </target> + + <!-- Test for JAXR under the Web Services Umbrella --> + <target name="tests-scout-jaxr" depends="maybejars"> + <mkdir dir="${build.reports}"/> + <mkdir dir="${build.testlog}"/> + <junit dir="${module.output}" + printsummary="${junit.printsummary}" + haltonerror="${junit.haltonerror}" + haltonfailure="${junit.haltonfailure}" + fork="${junit.fork}" + timeout="${junit.timeout}" + jvm="${junit.jvm}" + failureProperty="tests.failure"> + + <jvmarg value="-Djava.endorsed.dirs=${jboss.server.lib}/endorsed"/> + <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/> + <sysproperty key="build.testlog" value="${build.testlog}"/> + <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/> + <sysproperty key="javax.xml.registry.ConnectionFactoryClass" + value="org.apache.ws.scout.registry.ConnectionFactoryImpl"/> + <sysproperty key="jaxr.query.url" + value="http://localhost:8080/juddi/inquiry"/> + <sysproperty key="jaxr.publish.url" + value="http://localhost:8080/juddi/publish"/> + <!-- Pass along any jbosstest.* system properties --> + <syspropertyset> + <propertyref prefix="jbosstest."/> + </syspropertyset> + <!-- Classpath to build and run the Jaxr tests. Jaxr is quite brittle + with heavy reliance on xml security, castor etc. Any changes to the + dependencies/classpath drives the tester crazy. Please retain this + until Jaxr has a permanent solution with juddi/Scout.--> + <classpath> + <pathelement location="${build.classes}"/> + + <path refid="apache.xerces.classpath"/> + <path refid="dom4j.dom4j.classpath"/> + <path refid="sun.javamail.classpath"/> + <path refid="sun.jaf.classpath"/> + <path refid="jboss.jaxrpc.classpath"/> + <path refid="apache.commons.classpath"/> + <path refid="juddi.juddi.classpath"/> + <path refid="apache.scout.classpath"/> + + <fileset dir="${jboss.dist}/client"> + <include name="jbossall-client.jar"/> + <include name="jboss-j2ee.jar"/> + <include name="axis-ws4ee.jar"/> + <include name="jboss-juddiaxis.jar"/> + </fileset> + </classpath> + + <formatter type="xml" usefile="${junit.formatter.usefile}"/> + + <batchtest todir="${build.reports}" + haltonerror="${junit.batchtest.haltonerror}" + haltonfailure="${junit.batchtest.haltonfailure}" + fork="${junit.batchtest.fork}"> + + <fileset dir="${build.classes}"> + <patternset refid="jaxr.includes"/> + </fileset> + </batchtest> + </junit> + </target> + + <!-- Test for JAXR under the Web Services Umbrella --> <target name="tests-jaxr" depends="maybejars"> <mkdir dir="${build.reports}"/> |