cmlenz      2003/10/19 13:00:55

  Modified:    framework build.xml
  Log:
  The tests wouldn't run if clover was enabled, because logging.properties was not 
available.
  This change makes the tests work with as well as without clover enabled.
  
  Revision  Changes    Path
  1.73      +7 -3      jakarta-cactus/framework/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/framework/build.xml,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- build.xml 19 Oct 2003 18:06:46 -0000      1.72
  +++ build.xml 19 Oct 2003 20:00:55 -0000      1.73
  @@ -375,7 +375,7 @@
          Run the full suite of unit tests.
        ========================================================================
     -->
  -  <target name="test.clover.prepare" depends="compile.test,compile.clover"
  +  <target name="test.clover.prepare" depends="compile.test, compile.clover"
         if="clover.enable">
   
       <path id="test.class.path">
  @@ -398,6 +398,10 @@
         <path refid="project.classpath"/>
       </path>
   
  +  </target>
  +
  +  <target name="test.prepare" depends="test.clover.prepare, test.main.prepare">
  +
        <!-- Convert the path to logging.properties to use forward slashes
             so that it works when loaded as a String in Java (backslashes
             won't work. -->
  @@ -417,7 +421,7 @@
   
     </target>
   
  -  <target name="test" depends="test.clover.prepare,test.main.prepare"
  +  <target name="test" depends="test.prepare"
         description="Run the unit tests">
   
       <junit printsummary="yes" haltonfailure="yes" fork="yes">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to