summaryrefslogtreecommitdiffstats
path: root/common.xml
diff options
context:
space:
mode:
Diffstat (limited to 'common.xml')
-rw-r--r--common.xml39
1 files changed, 20 insertions, 19 deletions
diff --git a/common.xml b/common.xml
index 5b464e5047..eceb0b9077 100644
--- a/common.xml
+++ b/common.xml
@@ -6,6 +6,7 @@
</tstamp>
<dirname property="vaadin.basedir" file="${ant.file.common}" />
+ <property name="gwt.basedir" location="${vaadin.basedir}/../gwt" />
<property file="${vaadin.basedir}/build.properties" />
<property name="modules.to.publish.to.maven" value="shared,server,client,client-compiler,client-compiled,theme-compiler,themes" />
@@ -292,25 +293,25 @@
<mkdir dir="${classes}" />
</target>
- <target name="tests.run" depends="tests.compile">
+ <target name="test.run" depends="test.compile">
<fail unless="module.name" message="No module name given" />
<property name="result.dir" location="result" />
<property name="classes" location="${result.dir}/classes" />
- <property name="tests.src" location="${result.dir}/../tests/src" />
- <property name="tests.classes" location="${result.dir}/tests/classes" />
+ <property name="test.src" location="${result.dir}/../tests/src" />
+ <property name="test.classes" location="${result.dir}/tests/classes" />
<junit printsummary="withOutAndErr" fork="yes">
<formatter usefile="false" type="plain" />
<jvmarg value="-ea" />
- <classpath location="${tests.classes}" />
+ <classpath location="${test.classes}" />
<classpath location="${classes}" />
<classpath refid="classpath.compile.custom" />
- <classpath refid="classpath.tests.dependencies" />
+ <classpath refid="classpath.test.dependencies" />
<batchtest fork="yes">
- <fileset dir="${tests.src}">
+ <fileset dir="${test.src}">
<exclude name="**/Abstract*" />
<exclude name="com/vaadin/tests/data/bean/*" />
<exclude name="com/vaadin/tests/util/*" />
@@ -322,26 +323,26 @@
</junit>
</target>
- <target name="tests.compile" description="Compiles tests" depends="compile, dependencies.tests">
+ <target name="test.compile" description="Compiles tests" depends="compile, dependencies.test">
<fail unless="module.name" message="No module name given" />
<property name="result.dir" location="result" />
<property name="base.dir" location="${result.dir}/.." />
- <property name="tests.src" location="${base.dir}/tests/src" />
- <property name="tests.resources" location="${base.dir}/tests/resources" />
- <property name="tests.classes" location="${result.dir}/tests/classes" />
+ <property name="test.src" location="${base.dir}/tests/src" />
+ <property name="test.resources" location="${base.dir}/tests/resources" />
+ <property name="test.classes" location="${result.dir}/tests/classes" />
<property name="classes" location="${result.dir}/classes" />
- <mkdir dir="${tests.classes}" />
+ <mkdir dir="${test.classes}" />
- <javac srcdir="${tests.src}" destdir="${tests.classes}" source="${vaadin.java.version}" target="${vaadin.java.version}" debug="true" encoding="UTF-8" includeantruntime="false">
- <classpath refid="classpath.tests.dependencies" />
+ <javac srcdir="${test.src}" destdir="${test.classes}" source="${vaadin.java.version}" target="${vaadin.java.version}" debug="true" encoding="UTF-8" includeantruntime="false">
+ <classpath refid="classpath.test.dependencies" />
<classpath location="${classes}" />
- <classpath refid="classpath.tests.custom" />
+ <classpath refid="classpath.test.custom" />
</javac>
<!-- Copy resources -->
- <copy todir="${tests.classes}" failonerror="false">
- <fileset dir="${tests.resources}" />
+ <copy todir="${test.classes}" failonerror="false">
+ <fileset dir="${test.resources}" />
</copy>
</target>
@@ -351,9 +352,9 @@
<ivy:cachepath pathid="classpath.compile.dependencies" conf="${conf}" />
</target>
- <target name="dependencies.tests" description="Resolves dependencies needed by tests">
- <ivy:resolve resolveid="common" conf="tests" />
- <ivy:cachepath pathid="classpath.tests.dependencies" conf="tests" />
+ <target name="dependencies.test" description="Resolves dependencies needed by test">
+ <ivy:resolve resolveid="common" conf="test" />
+ <ivy:cachepath pathid="classpath.test.dependencies" conf="test" />
</target>
<target name="clean">