blob: 3f30c654bb2d725986040f74e2392c2e1cf76a4b [file] [log] [blame]
gwt.team.scottb36f322f2006-12-07 19:49:22 +00001<project name="user" default="build" basedir=".">
gwt.team.scottbab0aa682006-12-06 23:14:19 +00002 <property name="gwt.root" location=".." />
gwt.team.scottb36f322f2006-12-07 19:49:22 +00003 <property name="project.tail" value="user" />
gwt.team.scottbab0aa682006-12-06 23:14:19 +00004 <import file="${gwt.root}/common.ant.xml" />
5
gwt.team.scottbc2a336d2006-12-07 21:30:28 +00006 <!-- 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.scottbab0aa682006-12-06 23:14:19 +00008
gwt.team.scottbc2a336d2006-12-07 21:30:28 +00009 <target name="compile" description="Compile all class files">
gwt.team.scottbab0aa682006-12-06 23:14:19 +000010 <mkdir dir="${javac.out}" />
11 <gwt.javac>
12 <classpath>
13 <pathelement location="${gwt.tools.lib}/junit/junit-3.8.1.jar" />
gwt.team.scottbc2a336d2006-12-07 21:30:28 +000014 <pathelement location="${gwt.dev.jar}" />
gwt.team.scottbab0aa682006-12-06 23:14:19 +000015 </classpath>
16 </gwt.javac>
gwt.team.scottb36f322f2006-12-07 19:49:22 +000017 </target>
gwt.team.scottbab0aa682006-12-06 23:14:19 +000018
gwt.team.scottbc2a336d2006-12-07 21:30:28 +000019 <target name="build" depends="compile" description="Build and package this project">
gwt.team.scottbab0aa682006-12-06 23:14:19 +000020 <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.scottb36f322f2006-12-07 19:49:22 +000028 <target name="checkstyle" description="Static analysis of source">
gwt.team.scottbab0aa682006-12-06 23:14:19 +000029 <gwt.checkstyle>
gwt.team.scottbc2a336d2006-12-07 21:30:28 +000030 <fileset dir="super/com/google/gwt/emul" />
31 <fileset dir="super/com/google/gwt/junit/translatable" />
gwt.team.scottbab0aa682006-12-06 23:14:19 +000032 </gwt.checkstyle>
33 </target>
gwt.team.scottbc2a336d2006-12-07 21:30:28 +000034
gwt.team.scottbab0aa682006-12-06 23:14:19 +000035 <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.scottbab0aa682006-12-06 23:14:19 +000040</project>