[jboss-cvs] JBossAS SVN: r100878 - projects/jboss-jca/trunk.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Feb 11 11:08:17 EST 2010


Author: jesper.pedersen
Date: 2010-02-11 11:08:16 -0500 (Thu, 11 Feb 2010)
New Revision: 100878

Modified:
   projects/jboss-jca/trunk/build.xml
Log:
fix cobertura build

Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml	2010-02-11 16:06:07 UTC (rev 100877)
+++ projects/jboss-jca/trunk/build.xml	2010-02-11 16:08:16 UTC (rev 100878)
@@ -435,7 +435,9 @@
     
     <mkdir dir="${build.dir}/instrumented" />
     <copy todir="${build.dir}/instrumented">
-      <fileset dir="${target.dir}"/>
+      <fileset dir="${target.dir}">
+        <include name="*.jar"/>
+      </fileset>
     </copy>
 
     <cobertura-instrument todir="${build.dir}/instrumented"
@@ -445,6 +447,12 @@
       </fileset>
     </cobertura-instrument>
 
+    <copy todir="${build.dir}/instrumented">
+      <fileset dir="${target.dir}">
+        <include name="jboss-jca-core-api.jar"/>
+      </fileset>
+    </copy>
+
     <junit dir="core/src/test"
            printsummary="${junit.printsummary}"
            haltonerror="${junit.haltonerror}"
@@ -457,6 +465,9 @@
       <sysproperty key="net.sourceforge.cobertura.datafile" file="${reports.dir}/cobertura/cobertura.ser" />
       <sysproperty key="xb.builder.useUnorderedSequence" value="true"/>
       <sysproperty key="javax.xml.stream.XMLInputFactory" value="com.sun.xml.internal.stream.XMLInputFactoryImpl"/>
+      <sysproperty key="java.util.logging.manager" value="org.jboss.logmanager.LogManager"/>
+      <sysproperty key="org.jboss.logging.Logger.pluginClass" value="org.jboss.logging.logmanager.LoggerPluginImpl"/>
+      <sysproperty key="log4j.defaultInitOverride" value="true"/>
 
       <classpath>
         <fileset dir="${build.dir}/instrumented" includes="*.jar" />
@@ -486,6 +497,9 @@
       <sysproperty key="test.dir" value="${test.dir}"/>
       <sysproperty key="net.sourceforge.cobertura.datafile" file="${reports.dir}/cobertura/cobertura.ser" />
       <sysproperty key="javax.xml.stream.XMLInputFactory" value="com.sun.xml.internal.stream.XMLInputFactoryImpl"/>
+      <sysproperty key="java.util.logging.manager" value="org.jboss.logmanager.LogManager"/>
+      <sysproperty key="org.jboss.logging.Logger.pluginClass" value="org.jboss.logging.logmanager.LoggerPluginImpl"/>
+      <sysproperty key="log4j.defaultInitOverride" value="true"/>
 
       <classpath>
         <fileset dir="${build.dir}/instrumented" includes="*.jar" />




More information about the jboss-cvs-commits mailing list