You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2003/10/03 16:56:28 UTC

cvs commit: xml-forrest build.xml

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>