gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 1 | <project name="samples" default="build" basedir="."> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 2 | <property name="gwt.root" location=".." /> |
| 3 | <property name="project.tail" value="samples" /> |
| 4 | <import file="${gwt.root}/common.ant.xml" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 5 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 6 | <!-- "build" is the default when subprojects are directly targetted --> |
| 7 | <property name="target" value="build" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 8 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 9 | <target name="dynatable" description="Build dynatable"> |
| 10 | <gwt.ant dir="dynatable" /> |
| 11 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 12 | |
rjrjr@google.com | d39fe78 | 2010-07-23 22:42:40 +0000 | [diff] [blame] | 13 | <target name="dynatablerf" description="Build dynatablerf"> |
Manuel Carrasco Moñino | 43797ae | 2014-10-19 12:31:52 +0200 | [diff] [blame] | 14 | <gwt.ant dir="dynatablerf" /> |
rjrjr@google.com | d39fe78 | 2010-07-23 22:42:40 +0000 | [diff] [blame] | 15 | </target> |
| 16 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 17 | <target name="hello" description="Build hello"> |
| 18 | <gwt.ant dir="hello" /> |
| 19 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 20 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 21 | <target name="json" description="Build json"> |
| 22 | <gwt.ant dir="json" /> |
| 23 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 24 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 25 | <target name="mail" description="Build mail"> |
| 26 | <gwt.ant dir="mail" /> |
| 27 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 28 | |
rchandia@google.com | 18d67dd | 2011-04-20 16:27:14 +0000 | [diff] [blame] | 29 | <target name="mobilewebapp" description="Build mobile web app"> |
Manuel Carrasco Moñino | 43797ae | 2014-10-19 12:31:52 +0200 | [diff] [blame] | 30 | <gwt.ant dir="mobilewebapp" /> |
rchandia@google.com | 18d67dd | 2011-04-20 16:27:14 +0000 | [diff] [blame] | 31 | </target> |
| 32 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 33 | <target name="showcase" description="Build showcase"> |
| 34 | <gwt.ant dir="showcase" /> |
| 35 | </target> |
gwt.team.jlabanca | 40faa08 | 2008-03-12 00:08:50 +0000 | [diff] [blame] | 36 | |
nchalko@google.com | 97def99 | 2010-08-26 22:18:52 +0000 | [diff] [blame] | 37 | <target name="validation" description="Build validation"> |
Manuel Carrasco Moñino | 43797ae | 2014-10-19 12:31:52 +0200 | [diff] [blame] | 38 | <gwt.ant dir="validation" /> |
nchalko@google.com | 97def99 | 2010-08-26 22:18:52 +0000 | [diff] [blame] | 39 | </target> |
| 40 | |
nchalko@google.com | 9321953 | 2010-11-15 18:52:58 +0000 | [diff] [blame] | 41 | <target name="validationtck" description="Build validation TCK"> |
| 42 | <gwt.ant dir="validationtck" /> |
| 43 | </target> |
| 44 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 45 | <target name="-do" description="Run all subprojects" > |
| 46 | <antcall target="dynatable" /> |
rjrjr@google.com | 41902cd | 2010-08-26 18:08:37 +0000 | [diff] [blame] | 47 | <antcall target="dynatablerf" /> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 48 | <antcall target="hello" /> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 49 | <antcall target="json" /> |
| 50 | <antcall target="mail" /> |
rchandia@google.com | 18d67dd | 2011-04-20 16:27:14 +0000 | [diff] [blame] | 51 | <antcall target="mobilewebapp" /> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 52 | <antcall target="showcase" /> |
nchalko@google.com | 97def99 | 2010-08-26 22:18:52 +0000 | [diff] [blame] | 53 | <antcall target="validation" /> |
nchalko@google.com | 9321953 | 2010-11-15 18:52:58 +0000 | [diff] [blame] | 54 | <!-- don't include validationtck, it is not really a sample --> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 55 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 56 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 57 | <target name="build" description="Builds GWT"> |
Thomas Broyer | 8e05f92 | 2014-04-14 01:55:44 +0200 | [diff] [blame] | 58 | <antcall target="-do"> |
| 59 | <param name="target" value="build" /> |
| 60 | </antcall> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 61 | <length property="gwt.sample.length"> |
scottb@google.com | 6cd61e9 | 2009-01-16 19:50:20 +0000 | [diff] [blame] | 62 | <fileset dir="${gwt.build.out}/samples" includes="*/war/*/*.cache.html,*/war/*/*.cache.js"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 63 | </length> |
skybrian@google.com | daebbcb | 2012-06-15 16:42:27 +0000 | [diff] [blame] | 64 | <echo message="compiled size of all samples is ${gwt.sample.length} bytes." level="info"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 65 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 66 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 67 | <target name="checkstyle" description="Static analysis of GWT source"> |
| 68 | <antcall target="-do"> |
| 69 | <param name="target" value="checkstyle" /> |
| 70 | </antcall> |
| 71 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 72 | |
cramsdale@google.com | 408e75e | 2010-08-20 15:26:19 +0000 | [diff] [blame] | 73 | <target name="source" description="Copy source to the output folder"> |
| 74 | <antcall target="-do"> |
| 75 | <param name="target" value="source" /> |
| 76 | </antcall> |
| 77 | </target> |
nchalko@google.com | 97def99 | 2010-08-26 22:18:52 +0000 | [diff] [blame] | 78 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 79 | <target name="test" description="Test GWT"> |
| 80 | <antcall target="-do"> |
| 81 | <param name="target" value="test" /> |
| 82 | </antcall> |
| 83 | </target> |
gwt.team.scottb | 6996532 | 2006-12-19 23:58:19 +0000 | [diff] [blame] | 84 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 85 | <target name="clean" description="Cleans this project's intermediate and output files"> |
| 86 | <delete dir="${project.build}" /> |
| 87 | <delete dir="${gwt.build.out}/samples-scripts" /> |
| 88 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 89 | </project> |