| <project name="platforms"> |
| <import file="${gwt.root}/common.ant.xml" /> |
| |
| <!-- "build" is the default when subprojects are directly targetted --> |
| <property name="target" value="build" /> |
| |
| <available file="core/build.xml" type="file" property="core.exists" /> |
| <target name="core" description="Run core" if="core.exists"> |
| <gwt.ant dir="core" /> |
| </target> |
| |
| <target name="linux" depends="core" description="Run linux"> |
| <gwt.ant dir="linux" /> |
| </target> |
| |
| <target name="windows" depends="core" description="Run windows"> |
| <gwt.ant dir="windows" /> |
| </target> |
| |
| <target name="mac" depends="core" description="Run mac"> |
| <gwt.ant dir="mac" /> |
| </target> |
| |
| <target name="-do" depends="linux, windows, mac" description="Run all platforms" /> |
| |
| <target name="build" description="Build each platforms"> |
| <antcall target="-do"> |
| <param name="target" value="build" /> |
| </antcall> |
| </target> |
| |
| <target name="checkstyle" description="Static analysis of source for each platform"> |
| <antcall target="-do"> |
| <param name="target" value="checkstyle" /> |
| </antcall> |
| </target> |
| |
| <target name="test" description="Test each platform"> |
| <antcall target="-do"> |
| <param name="target" value="test" /> |
| </antcall> |
| </target> |
| |
| </project> |