Changeset 221 for trunk/build.xml

Show
Ignore:
Timestamp:
10/27/09 13:17:57 (3 years ago)
Author:
martijn
Message:

Created test target for all modules

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r206 r221  
    55  <property name="svn.exec.svnversion" value="svnversion"/> 
    66   
     7   <macrodef name="iterate"> 
     8                <attribute name="target"/> 
     9                <sequential> 
     10                        <subant target="@{target}"> 
     11                                <filelist dir="."> 
     12                                        <file name="corelib/build.xml"/> 
     13                                        <file name="bio/build.xml"/> 
     14                                        <file name="batchmapper/build.xml"/> 
     15                                        <file name="webservice/build.xml"/> 
     16                                        <file name="picr/build.xml"/> 
     17                                        <file name="synergizer/build.xml"/> 
     18                                </filelist> 
     19                        </subant> 
     20                </sequential> 
     21        </macrodef> 
     22 
    723  <target name="dist" depends="doc"> 
    8         <antcall target="_allmodules"> 
    9                 <param name="allmodules.target" value="dist"/> 
    10         </antcall> 
     24                <iterate target="dist"/> 
     25 
    1126         
    1227        <property name="zipbase" value="bridgedb-${bridgedb.version}"/> 
     
    3651 
    3752  <target name="clean"> 
    38         <antcall target="_allmodules"> 
    39                 <param name="allmodules.target" value="clean"/> 
    40         </antcall> 
     53                <iterate target="clean"/> 
    4154  </target> 
    4255 
    4356  <target name="test"> 
    44         <antcall target="_allmodules"> 
    45                 <param name="allmodules.target" value="test"/> 
    46         </antcall> 
     57                <iterate target="test"/> 
    4758  </target> 
    4859 
    4960  <target name="dist-clean"> 
    50         <antcall target="_allmodules"> 
    51                 <param name="allmodules.target" value="dist-clean"/> 
    52         </antcall> 
     61                <iterate target="dist-clean"/> 
    5362  </target> 
    5463