gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 1 | <project name="platforms"> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 2 | <import file="${gwt.root}/common.ant.xml" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 3 | |
jat@google.com | 04912f2 | 2008-11-26 00:21:22 +0000 | [diff] [blame] | 4 | <condition property="oophm.exists" value="true"> |
| 5 | <available file="oophm" /> |
| 6 | </condition> |
| 7 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 8 | <!-- "build" is the default when subprojects are directly targetted --> |
| 9 | <property name="target" value="build" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 10 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 11 | <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.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 15 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 16 | <target name="linux" depends="core" description="Run linux"> |
| 17 | <gwt.ant dir="linux" /> |
| 18 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 19 | |
jat@google.com | 04912f2 | 2008-11-26 00:21:22 +0000 | [diff] [blame] | 20 | <target name="oophm" depends="core" description="OOPHM overlay" |
| 21 | if="oophm.exists"> |
| 22 | <gwt.ant dir="oophm" /> |
| 23 | </target> |
| 24 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 25 | <target name="windows" depends="core" description="Run windows"> |
| 26 | <gwt.ant dir="windows" /> |
| 27 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 28 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 29 | <target name="mac" depends="core" description="Run mac"> |
| 30 | <gwt.ant dir="mac" /> |
| 31 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 32 | |
jat@google.com | 04912f2 | 2008-11-26 00:21:22 +0000 | [diff] [blame] | 33 | <target name="-do" depends="linux, windows, mac, oophm" description="Run all platforms" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 34 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 35 | <target name="build" description="Build each platforms"> |
| 36 | <antcall target="-do"> |
| 37 | <param name="target" value="build" /> |
| 38 | </antcall> |
| 39 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 40 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 41 | <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.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 46 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 47 | <target name="test" description="Test each platform"> |
| 48 | <antcall target="-do"> |
| 49 | <param name="target" value="test" /> |
| 50 | </antcall> |
| 51 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 52 | |
| 53 | </project> |