blob: f937fc95b530517e9da135e5119faa0acee012a0 [file] [log] [blame]
<project name="samples" default="build" basedir=".">
<property name="gwt.root" location=".." />
<property name="project.tail" value="samples" />
<import file="${gwt.root}/common.ant.xml" />
<!-- "build" is the default when subprojects are directly targetted -->
<property name="target" value="build" />
<target name="dynatable" description="Build dynatable">
<gwt.ant dir="dynatable" />
<target name="hello" description="Build hello">
<gwt.ant dir="hello" />
<target name="i18n" description="Build i18n">
<gwt.ant dir="i18n" />
<target name="json" description="Build json">
<gwt.ant dir="json" />
<target name="mail" description="Build mail">
<gwt.ant dir="mail" />
<target name="showcase" description="Build showcase">
<gwt.ant dir="showcase" />
<target name="-do" description="Run all subprojects" >
<antcall target="dynatable" />
<antcall target="hello" />
<antcall target="i18n" />
<antcall target="json" />
<antcall target="mail" />
<antcall target="showcase" />
<target name="build" description="Builds GWT">
<gwt.timer name="all">
<antcall target="-do">
<param name="target" value="build" />
<length property="gwt.sample.length">
<fileset dir="${}/samples" includes="*/war/*/*.cache.html,*/war/*/*.cache.js"/>
<echo message="compiled size of all samples is ${gwt.sample.length} bytes."/>
<target name="checkstyle" description="Static analysis of GWT source">
<antcall target="-do">
<param name="target" value="checkstyle" />
<target name="test" description="Test GWT">
<antcall target="-do">
<param name="target" value="test" />
<target name="clean" description="Cleans this project's intermediate and output files">
<delete dir="${}" />
<delete dir="${}/samples-scripts" />