Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

build.xml modified to have separate testreport dir for contrib.

  • Loading branch information...
commit b444370605ec3f1fda41622225f704c8bdaca00e 1 parent d7c1ce7
@bbansal bbansal authored
Showing with 8 additions and 4 deletions.
  1. +2 −0  build.properties
  2. +6 −4 build.xml
View
2  build.properties
@@ -16,6 +16,8 @@ testclasses.dir=dist/testclasses
contrib.testclasses.dir=dist/contribtestclasses
testreport.dir=dist/junit-reports
testhtml.dir=dist/junit-reports/html
+contribtestreport.dir=dist/contrib-junit-reports
+contribtesthtml.dir=dist/contrib-junit-reports/html
tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=tomcat
tomcat.manager.password=tomcat
View
10 build.xml
@@ -165,21 +165,23 @@
</target>
<target name="contrib-junit" depends="contrib-jar" description="Run contrib junit tests.">
+ <replace-dir dir="${contribtestreport.dir}"/>
+ <replace-dir dir="${contribtesthtml.dir}"/>
<junit printsummary="yes" maxmemory="1024m" showoutput="true" failureProperty="test.failure">
<classpath refid="contrib-test-classpath"/>
<formatter type="xml"/>
- <batchtest fork="yes" todir="${testreport.dir}">
+ <batchtest fork="yes" todir="${contribtestreport.dir}">
<fileset dir="${contrib.classes.dir}">
<include name="**/*Test.class"/>
<exclude name="**/*PerformanceTest.class"/>
</fileset>
</batchtest>
</junit>
- <junitreport todir="${testhtml.dir}">
- <fileset dir="${testreport.dir}">
+ <junitreport todir="${contribtesthtml.dir}">
+ <fileset dir="${contribtestreport.dir}">
<include name="TEST-*.xml"/>
</fileset>
- <report todir="${testhtml.dir}" format="frames" />
+ <report todir="${contribtesthtml.dir}" format="frames" />
</junitreport>
</target>
Please sign in to comment.
Something went wrong with that request. Please try again.