User: user57  
  Date: 01/07/30 23:13:36

  Modified:    .        Tag: jboss_buildmagic build.xml config.xml
  Log:
   o using <execmodules> and <configmodules> tasks to control execution of
     testsuite subproject build files.  They still need there namesspace
     updated though.
   o moved the stylesheets from build/stylesheets to etc/stylesheets
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.6   +15 -1     jbosstest/Attic/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jbosstest/Attic/build.xml,v
  retrieving revision 1.1.2.5
  retrieving revision 1.1.2.6
  diff -u -r1.1.2.5 -r1.1.2.6
  --- build.xml 2001/07/31 05:32:27     1.1.2.5
  +++ build.xml 2001/07/31 06:13:36     1.1.2.6
  @@ -10,7 +10,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.1.2.5 2001/07/31 05:32:27 user57 Exp $ -->
  +<!-- $Id: build.xml,v 1.1.2.6 2001/07/31 06:13:36 user57 Exp $ -->
   
   <project default="main">
   
  @@ -280,6 +280,20 @@
            <include name="**/*.sh"/>
         </fileset>
       </chmod>
  +  </target>
  +
  +  <!-- Execute test build files -->
  +  <target name="compile-tests" depends="init">
  +    <property name="testsuite.modules"
  +           value="bank, bench, bmp"/>
  +
  +    <execmodules modules="${testsuite.modules}" 
  +              antfile="build-${module}.xml"
  +              root="${module.root}/src/build/subprojects"
  +              skipmissing="${testsuite.executemodules.skipmissing}">
  +      <header message="${testsuite.executemodules.header}"/>
  +      <footer message="${testsuite.executemodules.footer}"/>
  +    </execmodules>
     </target>
   
   
  
  
  
  1.1.2.6   +64 -1     jbosstest/Attic/config.xml
  
  Index: config.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jbosstest/Attic/config.xml,v
  retrieving revision 1.1.2.5
  retrieving revision 1.1.2.6
  diff -u -r1.1.2.5 -r1.1.2.6
  --- config.xml        2001/07/31 05:32:27     1.1.2.5
  +++ config.xml        2001/07/31 06:13:36     1.1.2.6
  @@ -7,7 +7,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: config.xml,v 1.1.2.5 2001/07/31 05:32:27 user57 Exp $ -->
  +<!-- $Id: config.xml,v 1.1.2.6 2001/07/31 06:13:36 user57 Exp $ -->
   
     <!-- ================================================================== -->
     <!-- Module Setup                                                       -->
  @@ -262,6 +262,69 @@
     <property name="release.api" value="${release.docs}/api"/>
     <property name="release.module.docs" value="${release.docs}/${module.name}"/>
     <property name="release.module.api" value="${release.api}/${module.name}"/>
  +
  +
  +  <!-- ================================================================== -->
  +  <!-- Modules Setup                                                      -->
  +  <!-- ================================================================== -->
  +
  +  <!-- Skip any missing modules and issue a warning -->
  +  <property name="testsuite.executemodules.skipmissing" value="true"/>
  +
  +  <!-- Define the header and footer displayed during each module execution -->
  +  <property name="testsuite.executemodules.header"><![CDATA[
  +    ====================================================================== 
  +    ==  Executing ${target} in module '${module}'...
  +    ==]]></property>
  +
  +  <property name="testsuite.executemodules.footer"><![CDATA[
  +    ==
  +    ==  Finished with ${target} in module '${module}'.
  +    ======================================================================
  +    ]]></property>
  +
  +  <!-- The group to use by default -->
  +  <property name="testsuite.groups" value="default"/>
  +
  +  <target name="module-configuration-setup">
  +    <moduleconfig property="testsuite.modules" selected="${testsuite.groups}">
  +
  +      <!-- Modules -->
  +
  +      <module name="bank"/>
  +      <module name="bench"/>
  +      <module name="bmp"/>
  +      <module name="cts"/>
  +      <module name="dbtest"/>
  +      <module name="hello"/>
  +      <module name="idgen"/>
  +      <module name="jbossmq"/>
  +      <module name="jmsra"/>
  +      <module name="jrmp"/>
  +      <module name="load"/>
  +      <module name="lock"/>
  +      <module name="logging"/>
  +      <module name="mdb"/>
  +      <module name="naming"/>
  +      <module name="perf"/>
  +      <module name="readahead"/>
  +      <module name="security"/>
  +      <module name="testbean"/>
  +      <module name="threading"/>
  +      <module name="web"/>
  +      <module name="xa"/>
  +
  +      <!-- Module groups -->
  +
  +      <group name="default">
  +        <include modules="bank, bench, bmp, cts, dbtest, hello"/>
  +        <include modules="jbossmq, jmsra, jrmp, load, lock, logging"/>
  +        <include modules="mdb, naming, perf, readahead, security"/>
  +        <include modules="testbean, threading, web, xa"/>
  +      </group>
  +
  +    </moduleconfig>
  +  </target>
   
   
     <!-- ================================================================== -->
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to