[jboss-cvs] jboss-portal/identity ...

Julien Viet julien at jboss.com
Sun Jul 16 18:51:01 EDT 2006


  User: julien  
  Date: 06/07/16 18:51:01

  Modified:    identity  build.xml
  Log:
  - extracted common stuff to run tests into a macro available in all modules
  
  Revision  Changes    Path
  1.7       +8 -43     jboss-portal/identity/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/identity/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- build.xml	28 Jun 2006 20:08:31 -0000	1.6
  +++ build.xml	16 Jul 2006 22:51:01 -0000	1.7
  @@ -8,7 +8,7 @@
     <!ENTITY targets    SYSTEM "../tools/etc/buildfragments/targets.ent">
      ]>
   
  -<!-- $Id: build.xml,v 1.6 2006/06/28 20:08:31 rgenova Exp $ -->
  +<!-- $Id: build.xml,v 1.7 2006/07/16 22:51:01 julien Exp $ -->
   
   <!--+======================================================================+-->
   <!--| JBoss Portal (The OpenSource Portal) Build File                      |-->
  @@ -169,54 +169,19 @@
      <target name="help" depends="_default:help"/>
   
      <target name="test" depends="compile">
  -
  -      <property name="build.testlog" value="${module.output}/log"/>
  -
  -      <echo><![CDATA[
  -      ${build.reports}
  -      ${build.testlog}
  -      ${module.output}
  -      ${junit.printsummary}
  -      ${junit.batchtest.haltonerror}
  -      ${junit.batchtest.haltonfailure}
  -      ${junit.batchtest.fork}
  -      ${junit.timeout}
  -      ${junit.jvm}
  -      ]]></echo>
  -
  -      <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}">
  -
  -         <!--<jvmarg value="-Xdebug"/>-->
  -         <!--<jvmarg value="-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"/>-->
  -
  -         <formatter type="plain" usefile="false"/>
  -         <formatter type="xml" usefile="true"/>
  -         <sysproperty key="build.testlog" value="${build.testlog}"/>
  -         <sysproperty key="build.resources" value="${build.resources}"/>
  -         <sysproperty key="build.lib" value="${build.lib}"/>
  -
  +      <execute-tests>
  +         <x-test>
            <test name="org.jboss.portal.test.identity.UserTestCase"/>
  -
  -         <classpath>
  +         </x-test>
  +         <x-classpath>
               <pathelement location="${build.lib}/portal-identity-lib.jar"/>
               <pathelement location="${build.lib}/portal-identity-test-lib.jar"/>
               <pathelement location="${jboss.portal-test.root}/etc"/>
               <path refid="dom4j.dom4j.classpath"/>
               <path refid="library.classpath"/>
               <path refid="dependentmodule.classpath"/>
  -         </classpath>
  -      </junit>
  -
  +         </x-classpath>
  +      </execute-tests>
      </target>
   
   </project>
  
  
  



More information about the jboss-cvs-commits mailing list