gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 1 | <project name="servlet" 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="servlet" /> |
| 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 | <property.ensure name="gwt.user.root" location="${gwt.root}/user" /> |
| 7 | <property.ensure name="gwt.user.build" location="${gwt.build.out}/user" /> |
| 8 | <property.ensure name="gwt.user.bin" location="${gwt.user.build}/bin" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 9 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 10 | <target name="build" description="Packages this project into a jar"> |
| 11 | <mkdir dir="${gwt.build.lib}" /> |
| 12 | <gwt.jar> |
| 13 | <fileset dir="${gwt.user.bin}"> |
| 14 | <exclude name="**/rebind/**" /> |
| 15 | <exclude name="**/tools/**" /> |
tomerigo@google.com | c2163e6 | 2010-02-01 16:08:26 +0000 | [diff] [blame] | 16 | <exclude name="**/super/**" /> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 17 | <exclude name="com/google/gwt/json/**" /> |
| 18 | <exclude name="com/google/gwt/junit/*" /> |
| 19 | <exclude name="com/google/gwt/junit/client/GWTTestCase.*" /> |
| 20 | <exclude name="com/google/gwt/junit/remote/**" /> |
| 21 | <exclude name="com/google/gwt/junit/server/**" /> |
| 22 | <exclude name="com/google/gwt/benchmarks/*" /> |
| 23 | </fileset> |
| 24 | </gwt.jar> |
| 25 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 26 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 27 | <target name="clean" description="Cleans this project's intermediate and output files"> |
| 28 | <delete file="${project.lib}" /> |
| 29 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 30 | </project> |