summaryrefslogtreecommitdiffstats
path: root/build.xml
blob: d3a001c3c5db4eaa4aa302b5078a91056827d804 (plain)
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
<?xml version="1.0"?>

<project name="vaadin" basedir="." default="all" xmlns:ivy="antlib:org.apache.ivy.ant">
	<include file="common.xml" as="common" />

	<path id="vaadin.buildhelpers.classpath" location="${vaadin.basedir}/buildhelpers/result/classes" />

	<!-- ================================= 
          target: all              
         ================================= -->
	<!--<target name="all" description="Compiles all parts of the project" depends="buildhelpers,theme-compiler,shared,server,client">-->
	<target name="all" description="Compiles all parts of the project" depends="buildorder">

		<subant buildpathref="build-path">
		</subant>
	</target>

	<target name="buildorder">
		<!-- Find out a good build order -->
		<ivy:buildlist reference="build-path">
			<fileset dir="." includes="**/build.xml">
				<exclude name="build.xml" />
				<exclude name="build/**" />
			</fileset>
		</ivy:buildlist>
	</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 -->
		<ivy:cleancache />

	</target>

</project>