blob: 7f8c32ef6e82195d1c28f0ad5e172581abcf09a9 [file] [log] [blame]
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +00001<project name="platforms">
fabbott@google.com0e2dc6282008-08-22 16:09:01 +00002 <import file="${gwt.root}/common.ant.xml" />
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +00003
jat@google.com04912f22008-11-26 00:21:22 +00004 <condition property="oophm.exists" value="true">
5 <available file="oophm" />
6 </condition>
7
fabbott@google.com0e2dc6282008-08-22 16:09:01 +00008 <!-- "build" is the default when subprojects are directly targetted -->
9 <property name="target" value="build" />
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000010
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000011 <available file="core/build.xml" type="file" property="core.exists" />
12 <target name="core" description="Run core" if="core.exists">
13 <gwt.ant dir="core" />
14 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000015
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000016 <target name="linux" depends="core" description="Run linux">
17 <gwt.ant dir="linux" />
18 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000019
jat@google.com04912f22008-11-26 00:21:22 +000020 <target name="oophm" depends="core" description="OOPHM overlay"
21 if="oophm.exists">
22 <gwt.ant dir="oophm" />
23 </target>
24
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000025 <target name="windows" depends="core" description="Run windows">
26 <gwt.ant dir="windows" />
27 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000028
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000029 <target name="mac" depends="core" description="Run mac">
30 <gwt.ant dir="mac" />
31 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000032
jat@google.com04912f22008-11-26 00:21:22 +000033 <target name="-do" depends="linux, windows, mac, oophm" description="Run all platforms" />
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000034
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000035 <target name="build" description="Build each platforms">
36 <antcall target="-do">
37 <param name="target" value="build" />
38 </antcall>
39 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000040
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000041 <target name="checkstyle" description="Static analysis of source for each platform">
42 <antcall target="-do">
43 <param name="target" value="checkstyle" />
44 </antcall>
45 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000046
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000047 <target name="test" description="Test each platform">
48 <antcall target="-do">
49 <param name="target" value="test" />
50 </antcall>
51 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000052
53</project>