- s/classpath/javac.classpath/ I'm fairly sure that this must have been added

in error.
- add jenkins.cobertura.report target. The jenkins plugin couldn't find the
  sources, so I'm hoping this helps it out.
- add debug lines cobertura needs
This commit is contained in:
kytv
2013-01-06 02:22:10 +00:00
parent 16be8deb00
commit e7d48f1d3c
3 changed files with 25 additions and 15 deletions

View File

@@ -1319,6 +1319,20 @@
<ant dir="core/java/" target="fulltest" />
<ant dir="router/java/" target="fulltest" />
</target>
<target name="jenkins.cobertura.report" depends="cobertura.report">
<!--
The jenkins cobertura plugin couldn't find the source files.
Let's see if these changes help it out.
-->
<replaceregexp byline="true" file="reports/core/cobertura/coverage.xml"
match='filename="net' replace='filename="core/java/src/net'/>
<replaceregexp byline="true" file="reports/core/cobertura/coverage.xml"
match="&lt;source&gt;./src" replace='&lt;source&gt;./core/java/src'/>
<replaceregexp byline="true" file="reports/router/cobertura/coverage.xml"
match='filename="net' replace='filename="router/java/src/net'/>
<replaceregexp byline="true" file="reports/router/cobertura/coverage.xml"
match="&lt;source&gt;./src" replace="&lt;source&gt;router/java/src"/>
</target>
<!-- end unit tests -->
<target name="testscripts" >