File: junitHelper.xml

package info (click to toggle)
eclipse 3.5.2-6squeeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 297,208 kB
  • ctags: 426,326
  • sloc: java: 2,527,099; ansic: 122,607; xml: 100,868; cpp: 33,545; jsp: 3,869; sh: 2,557; perl: 1,650; makefile: 272; csh: 151; python: 69; php: 24
file content (23 lines) | stat: -rw-r--r-- 734 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<project name="Generate SDK Test Results HTML" default="genResults">

	<condition property="resultsDefined">
		<isset property="results"/>
	</condition>

	<condition property="eclipseHomeSet">
		<isset property="eclipse-home"/>
	</condition>

	<property name="htmlDir" value="${results}/html"/>
	<property name="xmlDir" value="${results}/xml"/>

	<target name="genResults">
		<fail message="results directory not set"
	      unless="resultsDefined"/>
		<fail message="Eclipse installation directory not set"
	      unless="eclipseHomeSet"/>
		<echo message="Generating results in ${htmlDir}"/>
		<xslt style="${eclipse-home}/plugins/org.eclipse.test_3.2.0/JUNIT.XSL" basedir="${xmlDir}" destdir="${htmlDir}" />
	</target>

</project>