lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-lucene build.xml
Date Wed, 07 Apr 2004 23:53:21 GMT
ehatcher    2004/04/07 16:53:21

  Modified:    .        build.xml
  Log:
  add descriptive failure if junit.jar is missing
  
  Revision  Changes    Path
  1.61      +8 -2      jakarta-lucene/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/build.xml,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- build.xml	30 Mar 2004 17:32:11 -0000	1.60
  +++ build.xml	7 Apr 2004 23:53:21 -0000	1.61
  @@ -240,8 +240,14 @@
     <!-- ================================================================== -->
     <!--                                                                    -->
     <!-- ================================================================== -->
  -  <target name="test" depends="compile-test" if="junit.present"
  -    description="Runs unit tests">
  +  <target name="test" depends="compile-test" description="Runs unit tests">
  +    <fail unless="junit.present">
  +      ##################################################################
  +      JUnit not found.
  +      Please make sure junit.jar is in ANT_HOME/lib, or made available
  +      to Ant using other mechanisms like -lib or CLASSPATH.
  +      ##################################################################
  +	  </fail>
       <mkdir dir="${junit.output.dir}"/>
       <junit printsummary="off" haltonfailure="no"
         errorProperty="tests.failed" failureProperty="tests.failed">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message