diff options
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/build.xml b/build.xml new file mode 100644 index 0000000000..f735a6ae7a --- /dev/null +++ b/build.xml @@ -0,0 +1,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> |