gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 1 | <project name="user" default="build" basedir=".">
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 2 | <property name="gwt.root" location=".." />
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 3 | <property name="project.tail" value="user" />
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 4 | <import file="${gwt.root}/common.ant.xml" />
|
| 5 |
|
gwt.team.scottb | c2a336d | 2006-12-07 21:30:28 +0000 | [diff] [blame] | 6 | <!-- Platform shouldn't matter here, just picking one -->
|
| 7 | <property.ensure name="gwt.dev.jar" location="${gwt.build.lib}/gwt-dev-linux.jar" />
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 8 |
|
gwt.team.scottb | c2a336d | 2006-12-07 21:30:28 +0000 | [diff] [blame] | 9 | <target name="compile" description="Compile all class files">
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 10 | <mkdir dir="${javac.out}" />
|
| 11 | <gwt.javac>
|
| 12 | <classpath>
|
| 13 | <pathelement location="${gwt.tools.lib}/junit/junit-3.8.1.jar" />
|
gwt.team.scottb | c2a336d | 2006-12-07 21:30:28 +0000 | [diff] [blame] | 14 | <pathelement location="${gwt.dev.jar}" />
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 15 | </classpath>
|
| 16 | </gwt.javac>
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 17 | </target>
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 18 |
|
gwt.team.scottb | c2a336d | 2006-12-07 21:30:28 +0000 | [diff] [blame] | 19 | <target name="build" depends="compile" description="Build and package this project">
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 20 | <mkdir dir="${gwt.build.lib}" />
|
| 21 | <gwt.jar>
|
| 22 | <fileset dir="src" />
|
| 23 | <fileset dir="super" />
|
| 24 | <fileset dir="${javac.out}" />
|
| 25 | </gwt.jar>
|
| 26 | </target>
|
| 27 |
|
gwt.team.scottb | 36f322f | 2006-12-07 19:49:22 +0000 | [diff] [blame] | 28 | <target name="checkstyle" description="Static analysis of source">
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 29 | <gwt.checkstyle>
|
gwt.team.scottb | c2a336d | 2006-12-07 21:30:28 +0000 | [diff] [blame] | 30 | <fileset dir="super/com/google/gwt/emul" />
|
| 31 | <fileset dir="super/com/google/gwt/junit/translatable" />
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 32 | </gwt.checkstyle>
|
| 33 | </target>
|
gwt.team.scottb | c2a336d | 2006-12-07 21:30:28 +0000 | [diff] [blame] | 34 |
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 35 | <target name="clean" description="Cleans this project's intermediate and output files">
|
| 36 | <delete dir="${project.build}" />
|
| 37 | <delete file="${project.lib}" />
|
| 38 | </target>
|
| 39 |
|
gwt.team.scottb | ab0aa68 | 2006-12-06 23:14:19 +0000 | [diff] [blame] | 40 | </project>
|