| <project name="bikeshed" default="build" basedir="."> |
| <property name="gwt.root" location=".." /> |
| <property name="project.tail" value="bikeshed" /> |
| <property name="test.args" value="" /> |
| <import file="${gwt.root}/common.ant.xml" /> |
| <property.ensure name="gwt.dev.jar" location="${gwt.build.lib}/gwt-dev.jar" /> |
| <property.ensure name="gwt.user.jar" location="${gwt.build.lib}/gwt-user.jar" /> |
| <target name="checkstyle" description="Static analysis of source"> |
| <include name="com/google/**/*.java" /> |
| <include name="test/**" /> |
| <target name="compile" description="Compile all class files" |
| unless="compile.complete"> |
| <mkdir dir="${javac.out}" /> |
| <gwt.javac excludes="**/sample/**"> |
| <pathelement location="${gwt.tools.redist}/json/r2_20080312/json.jar" /> |
| <pathelement location="${gwt.dev.jar}" /> |
| <pathelement location="${gwt.user.jar}" /> |
| <target name="build" depends="compile" |
| description="Build and package this project"> |
| <mkdir dir="${gwt.build.lib}" /> |
| <fileset dir="src" excludes="**/sample/** **/META-INF/**" /> |
| <fileset dir="${javac.out}" /> |