Revision: 7860
Author: [email protected]
Date: Fri Apr 2 08:14:38 2010
Log: Build file changes to create gwt-bikeshed.jar that can be used as an
overlay
jar. Not included in dist.
Patch by: amitmanjhi
Review by: rjrjr (desk review), fabbott (tbr)
http://code.google.com/p/google-web-toolkit/source/detail?r=7860
Modified:
/trunk/bikeshed/build.xml
/trunk/build.xml
=======================================
--- /trunk/bikeshed/build.xml Tue Mar 16 10:24:13 2010
+++ /trunk/bikeshed/build.xml Fri Apr 2 08:14:38 2010
@@ -5,6 +5,9 @@
<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">
<gwt.checkstyle>
<fileset dir="src" />
@@ -16,4 +19,25 @@
</fileset>
</gwt.checkstyle.tests>
</target>
+
+ <target name="compile" description="Compile all class files"
+ unless="compile.complete">
+ <mkdir dir="${javac.out}" />
+ <gwt.javac excludes="**/sample/**">
+ <classpath>
+ <pathelement location="${gwt.dev.jar}" />
+ <pathelement location="${gwt.user.jar}" />
+ </classpath>
+ </gwt.javac>
+ </target>
+
+ <target name="build" depends="compile"
+ description="Build and package this project">
+ <mkdir dir="${gwt.build.lib}" />
+ <gwt.jar>
+ <fileset dir="src" excludes="**/sample/**" />
+ <fileset dir="${javac.out}" />
+ </gwt.jar>
+ </target>
+
</project>
=======================================
--- /trunk/build.xml Tue Feb 9 21:44:59 2010
+++ /trunk/build.xml Fri Apr 2 08:14:38 2010
@@ -37,6 +37,7 @@
description="[action] Minimal one-platform devel build, without
distro packaging">
<call-subproject subproject="dev" subtarget="build" />
<call-subproject subproject="user" subtarget="build" />
+ <call-subproject subproject="bikeshed" subtarget="build" />
<call-subproject subproject="servlet" subtarget="build" />
<call-subproject subproject="jni" subtarget="build" />
</target>
@@ -59,6 +60,12 @@
<gwt.ant dir="user" />
</target>
+ <target name="bikeshed" description="[subdir] Builds (or runs ${target}
if set) only the bikeshed library">
+ <call-subproject subproject="dev" subtarget="build"/>
+ <call-subproject subproject="user" subtarget="build"/>
+ <gwt.ant dir="bikeshed" />
+ </target>
+
<target name="tools" description="[subdir] Builds (or runs ${target} if
set) only the tools">
<call-subproject subproject="user" subtarget="build"/>
<gwt.ant dir="tools" />
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
To unsubscribe, reply using "remove me" as the subject.