forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest build.xml
Date Fri, 03 Oct 2003 14:56:28 GMT
nicolaken    2003/10/03 07:56:27

  Modified:    .        build.xml
  Log:
  Starting to add a test target so that I don't forget to test somethings
  before committing, as I can't always keep on relying
   on Juan to help me :-)
  
  Revision  Changes    Path
  1.77      +23 -0     xml-forrest/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/build.xml,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- build.xml	3 Oct 2003 10:05:23 -0000	1.76
  +++ build.xml	3 Oct 2003 14:56:27 -0000	1.77
  @@ -490,9 +490,32 @@
   
   
     <!-- ================================== -->
  +  <!--        Test targets                -->
  +  <!-- ================================== -->
  +  <target name="test" 
  +          depends="testseed" 
  +          description="Test that the features are ok before commmitting."/>
  +
  +  <target  name="testseed" depends="init" description="Test that the features are ok
before commmitting.">
  +    <property name="forrest.home" value="${dist-shbat.dir}" />  
  +    <property name="test.dir" value="${build.dir}/test"/>
  +    <delete dir="${test.dir}"/>
  +    <mkdir dir="${test.dir}"/>
  +    <ant antfile="${forrest.home}/forrest.build.xml" target="seed">
  +      <property name="forrest.home" value="${dist-shbat.dir}" />  
  +      <property name="project.home" value="${test.dir}"/>
  +    </ant>    
  +    <ant antfile="${forrest.home}/forrest.build.xml" target="site">
  +      <property name="forrest.home" value="${dist-shbat.dir}" />  
  +      <property name="project.home" value="${test.dir}"/>
  +    </ant>
  +  </target>
  +  
  +  <!-- ================================== -->
     <!--        Target used by Gump         -->
     <!-- ================================== -->
     <target  name="gump" description="Target used by Gump">
  +    <!--<antcall target="test"/>-->
       <antcall target="site"/>
       <antcall target="webapp"/>
     </target>
  
  
  

Mime
View raw message