summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2016-04-17 00:14:39 +0300
committerHenri Sara <hesara@vaadin.com>2016-04-17 00:14:39 +0300
commit9beaf0fa7fb404d20353ae2179863e9e3cb35ef9 (patch)
tree7d98cda750bad4e2ac5b040a2314fd36e318c685 /build.xml
parent6b134587d6aae49f033df3a0d66216b2f984eab0 (diff)
downloadvaadin-framework-9beaf0fa7fb404d20353ae2179863e9e3cb35ef9.tar.gz
vaadin-framework-9beaf0fa7fb404d20353ae2179863e9e3cb35ef9.zip
Further Ivy/Ant cleanup
This change removes the top-level build.xml and some other Ivy/Ant configuration entries. Change-Id: I56fb1621a66ef190a72cfe1f9eb277bb878db4b5
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml60
1 files changed, 0 insertions, 60 deletions
diff --git a/build.xml b/build.xml
deleted file mode 100644
index 707cc08074..0000000000
--- a/build.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="vaadin" basedir="." default="package" xmlns:ivy="antlib:org.apache.ivy.ant">
- <include file="common.xml" as="common" />
-
- <!-- ================================= target: all ================================= -->
- <!--<target name="all" description="Compiles all parts of the project"
- depends="buildhelpers,theme-compiler,shared,server,client"> -->
- <target name="package" description="Compiles and packages all modules in the project" depends="buildorder">
- </target>
-
- <target name="buildorder" depends="official.build.checks">
- <path id="build-path">
- <path location="uitest/build.xml" />
- </path>
- </target>
- <target name="clean" depends="buildorder">
- <subant buildpathref="build-path" target="clean">
- </subant>
- <delete dir="result" />
- <!-- Clean IVY cache (~/.ivy2) so no old artifacts are fetched from
- there (leave everything but Vaadin artifacts) -->
- <delete dir="${ivy.cache.dir}/com.vaadin" />
- <delete dir="${ivy.cache.dir}/com.carrotsearch" />
-
- </target>
- <target name="checkstyle" depends="buildorder">
- <subant buildpathref="build-path" target="checkstyle" />
- </target>
- <target name="test" depends="buildorder">
- <subant buildpathref="build-path" target="test" />
- </target>
-
- <target name="test-all" depends="buildorder">
- <parallel>
- <!-- JUnit tests, can be run without a server -->
- <subant buildpathref="build-path" target="test" />
-
- <!-- Server deployment + TestBench tests -->
- <antcall target="integration-test" />
- </parallel>
- </target>
-
- <target name="integration-test" depends="buildorder">
- <property name="war.file" location="result/artifacts/${vaadin.version}/vaadin-uitest/vaadin-uitest-${vaadin.version}.war" />
-
- <ant antfile="uitest/build.xml" target="test-testbench">
- <property name="war.file" location="${war.file}" />
- </ant>
- </target>
-
- <target name="official.build.checks" if="build.release">
- <condition property="java.version.matches">
- <equals arg1="${ant.java.version}" arg2="${vaadin.java.version}" />
- </condition>
- <fail unless="java.version.matches" message="Java version is ${ant.java.version}, but Vaadin must be compiled with genuine Java ${vaadin.java.version} compiler." />
- <echo>Java version is ${ant.java.version} as required.</echo>
- </target>
-
-</project>