db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb build.xml
Date Fri, 26 Aug 2005 18:44:36 GMT
brj         2005/08/26 11:44:36

  Modified:    .        build.xml
  Log:
  improved coverage tasks
  
  Revision  Changes    Path
  1.171     +27 -16    db-ojb/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/build.xml,v
  retrieving revision 1.170
  retrieving revision 1.171
  diff -u -r1.170 -r1.171
  --- build.xml	16 Mar 2005 09:32:01 -0000	1.170
  +++ build.xml	26 Aug 2005 18:44:35 -0000	1.171
  @@ -1594,11 +1594,10 @@
   <!-- ================================================================== -->
   <!-- emma coverage, on the-fly-instrumentation          				-->
   <!-- see http://emma.sourceforge.net                                    -->
  -<!-- 								                                    -->
  -<!-- the classes must already be compiled !        				   		-->
  +<!-- 								        							-->
   <!-- ================================================================== -->
   
  -    <target name="coverage-init" depends="init">
  +    <target name="coverage-init" depends="main">
           <!-- output directory used for EMMA coverage reports: -->
           <property name="coverage.dir" value="${basedir}/coverage" />
   
  @@ -1618,10 +1617,14 @@
      <!-- coverage for pb-api -->
     <target name="coverage_pb" depends="coverage-init,prepare-testdb"
         description="Code coverage test for PB layer" >
  -    <emmajava enabled="true" libclasspathref="emma.lib"
  -              fullmetadata="yes" filter="org.apache.ojb.broker.*" sourcepath="${src.java}"
  -              classname="org.apache.ojb.broker.AllTests"
  -              classpathref="runtime-classpath">
  +    <emmajava enabled="true" 
  +        classname="org.apache.ojb.broker.AllTests"
  +    	libclasspathref="emma.lib"
  +        fullmetadata="yes"
  +        filter="org.apache.ojb.broker.*"
  +		sourcepath="${src.java}"
  +		dir="${build.test}/ojb"
  +        classpathref="runtime-classpath">
         <txt outfile="${coverage.dir}_pb/coverage.txt" />
         <html outfile="${coverage.dir}_pb/coverage.html"  />
       </emmajava>
  @@ -1630,10 +1633,14 @@
      <!-- coverage for odmg-api -->
     <target name="coverage_odmg" depends="coverage-init,prepare-testdb"
         description="Code coverage test for ODMG layer">
  -    <emmajava enabled="true" libclasspathref="emma.lib"
  -              fullmetadata="yes" filter="org.apache.ojb.odmg.*" sourcepath="${src.java}"
  -              classname="org.apache.ojb.odmg.AllTests"
  -              classpathref="runtime-classpath">
  +    <emmajava enabled="true" 
  +        classname="org.apache.ojb.odmg.AllTests"
  +    	libclasspathref="emma.lib"
  +        fullmetadata="yes"
  +        filter="org.apache.ojb.broker.*"
  +		sourcepath="${src.java}"
  +		dir="${build.test}/ojb"
  +        classpathref="runtime-classpath">
         <txt outfile="${coverage.dir}_odmg/coverage.txt" />
         <html outfile="${coverage.dir}_odmg/coverage.html"  />
       </emmajava>
  @@ -1642,10 +1649,14 @@
      <!-- coverage for otm-api -->
     <target name="coverage_otm" depends="coverage-init,prepare-testdb"
         description="Code coverage test for OTM layer">
  -    <emmajava enabled="true" libclasspathref="emma.lib"
  -              fullmetadata="yes" filter="org.apache.ojb.otm.*" sourcepath="${src.java}"
  -              classname="org.apache.ojb.otm.AllTests"
  -              classpathref="runtime-classpath">
  +    <emmajava enabled="true" 
  +        classname="org.apache.ojb.otm.AllTests"
  +    	libclasspathref="emma.lib"
  +        fullmetadata="yes"
  +        filter="org.apache.ojb.broker.*"
  +		sourcepath="${src.java}"
  +		dir="${build.test}/ojb"
  +        classpathref="runtime-classpath">
         <txt outfile="${coverage.dir}_otm/coverage.txt" />
         <html outfile="${coverage.dir}_otm/coverage.html"  />
       </emmajava>
  
  
  

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


Mime
View raw message