fabbott@google.com | 71e72af | 2009-06-13 02:28:21 +0000 | [diff] [blame] | 1 | <project name="GWT" default="dist" basedir="."> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 2 | <property name="gwt.root" location="."/> |
| 3 | <property name="project.tail" value=""/> |
| 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 --> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 7 | <property name="target" value="build"/> |
| 8 | <property name="emma.merged.out" value="${project.build}/emma-coverage"/> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 9 | |
Roberto Lublinerman | 299dd2f | 2014-02-12 13:01:21 -0800 | [diff] [blame] | 10 | <!-- |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 11 | Convenience for the lateral calls we make. Use gwt.ant to |
| 12 | descend into another directory, and this to call in the same build.xml. |
| 13 | NOTE THE USE OF $TARGET, here and in common's gwt.ant. This has the |
| 14 | effect of dividing rules into subdirectory rules (using gwt.ant and |
| 15 | sensitive to $target) and action rules (using call-subproject and |
| 16 | setting $target)... but it is Bad for a subdirectory rule to depend |
| 17 | on another one, as they are both sensitive to $target, but you probably |
| 18 | mean that subdirB needed subdirA to be _built_, not $target'ed (tested, |
| 19 | etc.) |
| 20 | |
Roberto Lublinerman | 299dd2f | 2014-02-12 13:01:21 -0800 | [diff] [blame] | 21 | In other words, DO NOT USE DEPENDS=... IN A TARGET WITH GWT.ANT. |
fabbott@google.com | 71e72af | 2009-06-13 02:28:21 +0000 | [diff] [blame] | 22 | --> |
| 23 | <macrodef name="call-subproject"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 24 | <attribute name="subproject"/> |
| 25 | <attribute name="subtarget"/> |
fabbott@google.com | 71e72af | 2009-06-13 02:28:21 +0000 | [diff] [blame] | 26 | <sequential> |
| 27 | <antcall target="@{subproject}"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 28 | <param name="target" value="@{subtarget}"/> |
fabbott@google.com | 71e72af | 2009-06-13 02:28:21 +0000 | [diff] [blame] | 29 | </antcall> |
| 30 | </sequential> |
| 31 | </macrodef> |
| 32 | |
Roberto Lublinerman | 299dd2f | 2014-02-12 13:01:21 -0800 | [diff] [blame] | 33 | <property name="gwt.apicheck.config" |
Goktug Gokdogan | f5a0197 | 2014-12-10 21:17:25 -0800 | [diff] [blame] | 34 | location="tools/api-checker/config/gwt27_28userApi.conf"/> |
Thomas Broyer | c481a53 | 2013-05-22 11:36:50 +0200 | [diff] [blame] | 35 | <property name="gwt.apicheck.referencelibs" |
Goktug Gokdogan | f5a0197 | 2014-12-10 21:17:25 -0800 | [diff] [blame] | 36 | value="${gwt.tools}/api-checker-reference/2.7.0/gwt-dev-modified.jar:${gwt.tools}/api-checker-reference/2.7.0/gwt-user-modified.jar"/> |
fabbott@google.com | 831b44c | 2008-04-28 15:22:02 +0000 | [diff] [blame] | 37 | |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 38 | <target name="buildonly" |
| 39 | description="[action] Minimal one-platform devel build, without distro packaging"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 40 | <call-subproject subproject="dev" subtarget="build"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 41 | <call-subproject subproject="user" subtarget="build"/> |
John Stalcup | 22ab774 | 2014-10-01 12:40:50 -0700 | [diff] [blame] | 42 | <call-subproject subproject="codeserver" subtarget="build"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 43 | <call-subproject subproject="requestfactory" subtarget="build"/> |
| 44 | <call-subproject subproject="servlet" subtarget="build"/> |
| 45 | <call-subproject subproject="jni" subtarget="build"/> |
fabbott@google.com | 71e72af | 2009-06-13 02:28:21 +0000 | [diff] [blame] | 46 | </target> |
| 47 | |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 48 | <target name="dist" depends="build, doc" description="[action] Make all the distributions"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 49 | <gwt.ant dir="distro-source"/> |
jat@google.com | 04912f2 | 2008-11-26 00:21:22 +0000 | [diff] [blame] | 50 | </target> |
| 51 | |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 52 | <target name="dist-dev" depends="buildonly" |
| 53 | description="[action] Make this platform's distribution, minus doc and samples"> |
| 54 | <gwt.ant dir="distro-source" target="build"/> |
fabbott@google.com | 71e72af | 2009-06-13 02:28:21 +0000 | [diff] [blame] | 55 | </target> |
| 56 | |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 57 | <target name="dev" description="[subdir] Builds (or runs ${target} if set) all the dev libraries"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 58 | <call-subproject subproject="buildtools" subtarget="build"/> |
| 59 | <gwt.ant dir="dev"/> |
skybrian@google.com | b6ec668 | 2012-06-07 20:27:04 +0000 | [diff] [blame] | 60 | </target> |
| 61 | |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 62 | <target name="codeserver" |
| 63 | description="[subdir] Builds (or runs ${target} if set) only the SuperDevMode"> |
jat@google.com | 0b1619e | 2009-09-20 19:33:31 +0000 | [diff] [blame] | 64 | <call-subproject subproject="dev" subtarget="build"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 65 | <gwt.ant dir="dev/codeserver"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 66 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 67 | |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 68 | <target name="user" |
| 69 | description="[subdir] Builds (or runs ${target} if set) only the user library"> |
| 70 | <call-subproject subproject="dev" subtarget="build"/> |
| 71 | <gwt.ant dir="user"/> |
| 72 | </target> |
| 73 | |
| 74 | <target name="elemental" |
| 75 | description="[subdir] Builds (or runs ${target} if set) only the elemental library"> |
skybrian@google.com | daebbcb | 2012-06-15 16:42:27 +0000 | [diff] [blame] | 76 | <call-subproject subproject="user" subtarget="build"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 77 | <gwt.ant dir="elemental"/> |
skybrian@google.com | daebbcb | 2012-06-15 16:42:27 +0000 | [diff] [blame] | 78 | </target> |
| 79 | |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 80 | <target name="tools" description="[subdir] Builds (or runs ${target} if set) only the tools"> |
| 81 | <call-subproject subproject="user" subtarget="build"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 82 | <gwt.ant dir="tools"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 83 | </target> |
gwt.team.mmendez | 4449b34 | 2007-04-10 19:41:44 +0000 | [diff] [blame] | 84 | |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 85 | <target name="requestfactory" |
| 86 | description="[subdir] Builds (or runs ${target} if set) only the requestfactory jars"> |
| 87 | <call-subproject subproject="user" subtarget="build"/> |
| 88 | <gwt.ant dir="requestfactory"/> |
rice@google.com | dbff9c5 | 2011-04-05 17:47:39 +0000 | [diff] [blame] | 89 | </target> |
| 90 | |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 91 | <target name="servlet" |
| 92 | description="[subdir] Builds (or runs ${target} if set) only the servlet jar"> |
| 93 | <call-subproject subproject="user" subtarget="build"/> |
| 94 | <gwt.ant dir="servlet"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 95 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 96 | |
jat@google.com | 64a55cb | 2009-10-16 14:16:57 +0000 | [diff] [blame] | 97 | <target name="jni" description="[subdir] Builds (or runs ${target} if set) jni for all platforms"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 98 | <gwt.ant dir="jni"/> |
jat@google.com | 64a55cb | 2009-10-16 14:16:57 +0000 | [diff] [blame] | 99 | </target> |
| 100 | |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 101 | <target name="doc" description="[subdir] Builds (or runs ${target} if set) the doc"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 102 | <call-subproject subproject="user" subtarget="build"/> |
| 103 | <gwt.ant dir="doc"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 104 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 105 | |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 106 | <target name="samples" description="[subdir] Builds (or runs ${target} if set) the samples"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 107 | <call-subproject subproject="user" subtarget="build"/> |
| 108 | <call-subproject subproject="codeserver" subtarget="build"/> |
| 109 | <gwt.ant dir="samples"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 110 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 111 | |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 112 | <target name="buildtools" description="[subdir] Build (or runs ${target} if set) the build tools"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 113 | <gwt.ant dir="build_tools"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 114 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 115 | |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 116 | <target name="build" |
| 117 | description="[action] Builds GWT, including samples, but without distro packaging"> |
rice@google.com | dbff9c5 | 2011-04-05 17:47:39 +0000 | [diff] [blame] | 118 | <call-subproject subproject="dev" subtarget="build"/> |
| 119 | <call-subproject subproject="user" subtarget="build"/> |
John Stalcup | 22ab774 | 2014-10-01 12:40:50 -0700 | [diff] [blame] | 120 | <call-subproject subproject="codeserver" subtarget="build"/> |
rice@google.com | dbff9c5 | 2011-04-05 17:47:39 +0000 | [diff] [blame] | 121 | <call-subproject subproject="requestfactory" subtarget="build"/> |
| 122 | <call-subproject subproject="servlet" subtarget="build"/> |
| 123 | <call-subproject subproject="tools" subtarget="build"/> |
| 124 | <call-subproject subproject="jni" subtarget="build"/> |
| 125 | <call-subproject subproject="samples" subtarget="build"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 126 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 127 | |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 128 | <target name="checkstyle" description="[action] Does static analysis of GWT source"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 129 | <call-subproject subproject="buildtools" subtarget="checkstyle"/> |
| 130 | <call-subproject subproject="dev" subtarget="checkstyle"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 131 | <call-subproject subproject="user" subtarget="checkstyle"/> |
John Stalcup | 22ab774 | 2014-10-01 12:40:50 -0700 | [diff] [blame] | 132 | <call-subproject subproject="codeserver" subtarget="checkstyle"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 133 | <call-subproject subproject="requestfactory" subtarget="checkstyle"/> |
| 134 | <call-subproject subproject="servlet" subtarget="checkstyle"/> |
gwt.mirrorbot@gmail.com | f327137 | 2012-12-18 22:09:03 +0000 | [diff] [blame] | 135 | <!-- servlet needed for tools/benchmark-viewer --> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 136 | <call-subproject subproject="servlet" subtarget="build"/> |
| 137 | <call-subproject subproject="tools" subtarget="checkstyle"/> |
| 138 | <call-subproject subproject="samples" subtarget="checkstyle"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 139 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 140 | |
Thomas Broyer | 445d5e1 | 2014-02-19 18:27:28 +0100 | [diff] [blame] | 141 | <target name="compile.tests" description="[action] Compile all the GWT tests, without running them"> |
| 142 | <call-subproject subproject="buildtools" subtarget="compile.tests"/> |
| 143 | <call-subproject subproject="dev" subtarget="compile.tests"/> |
Thomas Broyer | 445d5e1 | 2014-02-19 18:27:28 +0100 | [diff] [blame] | 144 | <call-subproject subproject="user" subtarget="compile.tests"/> |
John Stalcup | 22ab774 | 2014-10-01 12:40:50 -0700 | [diff] [blame] | 145 | <call-subproject subproject="codeserver" subtarget="compile.tests"/> |
Thomas Broyer | 445d5e1 | 2014-02-19 18:27:28 +0100 | [diff] [blame] | 146 | <call-subproject subproject="requestfactory" subtarget="compile.tests"/> |
| 147 | <call-subproject subproject="servlet" subtarget="compile.tests"/> |
| 148 | <call-subproject subproject="tools" subtarget="compile.tests"/> |
| 149 | </target> |
| 150 | |
Manuel Carrasco Moñino | 01c9567 | 2014-08-22 10:30:43 +0200 | [diff] [blame] | 151 | <target name="test" depends="buildonly,apicheck,checkstyle" |
Manuel Carrasco Moñino | fe28714 | 2014-08-06 11:32:15 +0200 | [diff] [blame] | 152 | description="[action] Runs all the GWT tests, including checkstyle, apicheck and elemental"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 153 | <call-subproject subproject="buildtools" subtarget="test"/> |
| 154 | <call-subproject subproject="dev" subtarget="test"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 155 | <call-subproject subproject="user" subtarget="test"/> |
John Stalcup | 22ab774 | 2014-10-01 12:40:50 -0700 | [diff] [blame] | 156 | <call-subproject subproject="codeserver" subtarget="test"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 157 | <call-subproject subproject="requestfactory" subtarget="test"/> |
| 158 | <call-subproject subproject="servlet" subtarget="test"/> |
| 159 | <call-subproject subproject="tools" subtarget="test"/> |
Manuel Carrasco Moñino | fe28714 | 2014-08-06 11:32:15 +0200 | [diff] [blame] | 160 | <call-subproject subproject="elemental" subtarget="test"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 161 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 162 | |
Manuel Carrasco Moñino | 01c9567 | 2014-08-22 10:30:43 +0200 | [diff] [blame] | 163 | <target name="testrf" depends="buildonly" |
rice@google.com | dbff9c5 | 2011-04-05 17:47:39 +0000 | [diff] [blame] | 164 | description="[action] Runs the GWT RequestFactory tests"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 165 | <call-subproject subproject="dev" subtarget="compile.tests"/> |
| 166 | <call-subproject subproject="user" subtarget="compile.tests"/> |
| 167 | <call-subproject subproject="requestfactory" subtarget="test"/> |
rice@google.com | dbff9c5 | 2011-04-05 17:47:39 +0000 | [diff] [blame] | 168 | </target> |
| 169 | |
jlabanca@google.com | 8124456 | 2009-08-05 19:55:36 +0000 | [diff] [blame] | 170 | <path id="emma.classpath.src"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 171 | <pathelement location="${gwt.root}/user/src"/> |
| 172 | <pathelement location="${gwt.root}/dev/**/src/com/google"/> |
| 173 | <pathelement location="${gwt.root}/build_tools/**/src/com/google"/> |
| 174 | <pathelement location="${gwt.root}/tools/**/src/com/google"/> |
jlabanca@google.com | 8124456 | 2009-08-05 19:55:36 +0000 | [diff] [blame] | 175 | </path> |
| 176 | |
| 177 | <target name="emma.merge" description="Merges coverage data for all projects"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 178 | <delete dir="${emma.merged.out}"/> |
| 179 | <mkdir dir="${emma.merged.out}"/> |
jlabanca@google.com | 8124456 | 2009-08-05 19:55:36 +0000 | [diff] [blame] | 180 | <emma> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 181 | <merge outfile="${emma.merged.out}/merged.emma"> |
jlabanca@google.com | 8124456 | 2009-08-05 19:55:36 +0000 | [diff] [blame] | 182 | <fileset dir="${project.build}"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 183 | <include name="**/*.emma"/> |
| 184 | <exclude name="**/merged.emma"/> |
jlabanca@google.com | 8124456 | 2009-08-05 19:55:36 +0000 | [diff] [blame] | 185 | </fileset> |
| 186 | </merge> |
| 187 | </emma> |
| 188 | <emma> |
| 189 | <report sourcepath="${emma.classpath.src}"> |
| 190 | <fileset dir="${project.build}"> |
| 191 | <patternset> |
| 192 | <include name="**/metadata.emma"/> |
| 193 | </patternset> |
| 194 | </fileset> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 195 | <fileset file="${emma.merged.out}/merged.emma"/> |
| 196 | <txt outfile="${emma.merged.out}/coverage.txt"/> |
| 197 | <html outfile="${emma.merged.out}/coverage.html"/> |
| 198 | <xml outfile="${emma.merged.out}/coverage.xml"/> |
jlabanca@google.com | 8124456 | 2009-08-05 19:55:36 +0000 | [diff] [blame] | 199 | </report> |
| 200 | </emma> |
| 201 | </target> |
| 202 | |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 203 | <target name="clean" description="[action] Cleans the entire GWT build"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 204 | <delete dir="${gwt.build}"/> |
| 205 | <delete file="${gwt.root}/doc/packages.properties"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 206 | </target> |
fabbott@google.com | 831b44c | 2008-04-28 15:22:02 +0000 | [diff] [blame] | 207 | |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 208 | <target name="presubmit" |
| 209 | description="[action] Deprecated for test, which now does checkstyle and apicheck" |
jat@google.com | e0fa5b1 | 2009-10-13 23:57:19 +0000 | [diff] [blame] | 210 | depends="test"> |
fabbott@google.com | 71e72af | 2009-06-13 02:28:21 +0000 | [diff] [blame] | 211 | </target> |
jat@google.com | e0fa5b1 | 2009-10-13 23:57:19 +0000 | [diff] [blame] | 212 | |
Roberto Lublinerman | 299dd2f | 2014-02-12 13:01:21 -0800 | [diff] [blame] | 213 | <target name="apicheck-nobuild" |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 214 | description="[action] Checks API compatibility to prior GWT revision"> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 215 | <java failonerror="true" fork="true" |
| 216 | classname="com.google.gwt.tools.apichecker.ApiCompatibilityChecker"> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 217 | <jvmarg line="-Xmx512m"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 218 | <classpath> |
| 219 | <pathelement location="${gwt.build.out}/tools/api-checker/bin"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 220 | <fileset dir="${gwt.build.lib}" includes="gwt-user.jar,gwt-dev.jar"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 221 | <pathelement path="${java.class.path}"/> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 222 | <pathelement location="${gwt.tools.lib}/apache/ant-1.6.5.jar"/> |
Goktug Gokdogan | f50bd69 | 2015-02-02 19:33:42 -0800 | [diff] [blame] | 223 | <pathelement location="${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA.jar"/> |
| 224 | <pathelement |
| 225 | location="${gwt.tools.lib}/hibernate/validator/hibernate-validator-4.1.0.Final.jar"/> |
| 226 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 227 | </classpath> |
amitmanjhi@google.com | fe88820 | 2009-05-19 01:02:22 +0000 | [diff] [blame] | 228 | <arg value="-refJar"/> |
Thomas Broyer | c481a53 | 2013-05-22 11:36:50 +0200 | [diff] [blame] | 229 | <arg path="${gwt.apicheck.referencelibs}"/> |
jat@google.com | e7f61a7 | 2008-12-24 00:45:21 +0000 | [diff] [blame] | 230 | <arg value="-configFile"/> |
fabbott@google.com | 744d784 | 2009-10-08 01:58:00 +0000 | [diff] [blame] | 231 | <arg file="${gwt.apicheck.config}"/> |
amitmanjhi@google.com | fe88820 | 2009-05-19 01:02:22 +0000 | [diff] [blame] | 232 | <arg value="-logLevel"/> |
| 233 | <arg value="ERROR"/> |
bobv@google.com | 5b7a2bf | 2011-01-18 16:32:58 +0000 | [diff] [blame] | 234 | <!-- Needed for checking types that include validation APIs --> |
Roberto Lublinerman | f01ebee | 2014-03-15 09:20:11 -0700 | [diff] [blame] | 235 | <arg value="-validationSourceJars"/> |
| 236 | <arg path="${gwt.tools.lib}/javax/validation/validation-api-1.0.0.GA-sources.jar"/> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 237 | </java> |
| 238 | </target> |
jat@google.com | e0fa5b1 | 2009-10-13 23:57:19 +0000 | [diff] [blame] | 239 | |
Roberto Lublinerman | 299dd2f | 2014-02-12 13:01:21 -0800 | [diff] [blame] | 240 | <target name="apicheck" depends="buildonly,tools,apicheck-nobuild" |
fabbott@google.com | 3d7fbc2 | 2009-06-18 05:07:26 +0000 | [diff] [blame] | 241 | description="[action] Builds GWT and checks API compatiblity to prior release"/> |
jat@google.com | e0fa5b1 | 2009-10-13 23:57:19 +0000 | [diff] [blame] | 242 | |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 243 | </project> |