blob: 132c22a7fd44d56a5b428dab1018dcdd8ef2b5ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<?xml version="1.0" encoding="UTF-8" ?>
<project name="testsuite" default="run" basedir=".">
<property name="eclipse-home" value="${basedir}\..\.." />
<property name="plugin-name" value="org.eclipse.swtbot.eclipse.finder.test" />
<!--property name="library-file" value="../../library.xml" /-->
<!--property name="library-file" value="${eclipse-home}/plugins/org.eclipse.swtbot.eclipse.headless_${all.buildId}/library.xml"/-->
<property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml"/>
<target name="init">
<tstamp />
<delete>
<fileset dir="${eclipse-home}" includes="org*.xml" />
</delete>
</target>
<target name="suite">
<condition property="jvmOption" value="-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts">
<os family="mac"/>
</condition>
<property name="jvmOption" value=""></property>
<property name="temp-workspace" value="workspace" />
<delete dir="${temp-workspace}" quiet="true" />
<ant target="swtbot-test" antfile="${library-file}" dir="${eclipse-home}">
<property name="data-dir" value="${temp-workspace}" />
<property name="plugin-name" value="${plugin-name}" />
<property name="classname" value="org.eclipse.swtbot.eclipse.finder.AllTests" />
<property name="vmargs" value=" -Xms128M -Xmx368M -XX:MaxPermSize=256M ${jvmOption}" />
</ant>
</target>
<target name="cleanup" />
<target name="run" depends="init,suite,cleanup">
<ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
<property name="includes" value="*.xml" />
<property name="output-file" value="${plugin-name}.xml" />
</ant>
</target>
</project>
|