summaryrefslogtreecommitdiffstats
path: root/build.xml
blob: f735a6ae7ae4eaf68047eba501c467a622bbdd99 (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
<?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>
	</target>

</project>