summaryrefslogtreecommitdiffstats
path: root/build/build.xml
diff options
context:
space:
mode:
authorMarc Englund <marc.englund@itmill.com>2008-12-09 12:03:48 +0000
committerMarc Englund <marc.englund@itmill.com>2008-12-09 12:03:48 +0000
commitcbf0da046cc35ce9848b37611e3d08d1ef4aeb5c (patch)
tree775fa7d622fd4f1d178e7addeb82e83651fc89bc /build/build.xml
parente060f468a7564793f92a023c06c761a7e323a21f (diff)
downloadvaadin-framework-cbf0da046cc35ce9848b37611e3d08d1ef4aeb5c.tar.gz
vaadin-framework-cbf0da046cc35ce9848b37611e3d08d1ef4aeb5c.zip
Sampler widgetset build target added
svn changeset:6131/svn branch:trunk
Diffstat (limited to 'build/build.xml')
-rw-r--r--build/build.xml26
1 files changed, 25 insertions, 1 deletions
diff --git a/build/build.xml b/build/build.xml
index 4f088d5e26..072465eb67 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -645,6 +645,25 @@
<echo>Compiled ReservationWidgetSet</echo>
</target>
+ <target name="compile-widgetset-sampler">
+ <echo>com.itmill.toolkit.demo.sampler.gwt.SamplerWidgetSet</echo>
+ <java classname="com.google.gwt.dev.GWTCompiler" failonerror="yes" fork="yes" maxmemory="512m">
+ <arg value="-out" />
+ <arg value="${output-dir}/WebContent/ITMILL/widgetsets" />
+ <arg value="com.itmill.toolkit.demo.sampler.gwt.SamplerWidgetSet" />
+ <arg value="-style" />
+ <arg value="OBF" />
+ <classpath>
+ <pathelement location="${gwt-dir}/${platform}/gwt-user.jar" />
+ <pathelement location="${gwt-dir}/${platform}/${lib-gwt-dev}" />
+ <pathelement location="${result-path}/src" />
+ <!-- demo widgetset sources -->
+ <pathelement path="${output-dir}/WebContent/WEB-INF/src" />
+ </classpath>
+ </java>
+ <echo>Compiled SamplerWidgetSet</echo>
+ </target>
+
<target name="compile-widgetset-colorpicker">
<echo>com.itmill.toolkit.demo.colorpicker.gwt.ColorPickerWidgetSet</echo>
<java classname="com.google.gwt.dev.GWTCompiler" failonerror="yes" fork="yes" maxmemory="512m">
@@ -691,7 +710,8 @@
<echo>Compiling widget sets in parallel.</echo>
<parallel threadsperprocessor="1">
<subant antfile="build.xml" target="compile-widgetset-default" inheritall="true" buildpath="build" />
- <subant antfile="build.xml" target="compile-widgetset-reserver" inheritall="true" buildpath="build" />
+ <subant antfile="build.xml" target="compile-widgetset-sampler" inheritall="true" buildpath="build" />
+ <subant antfile="build.xml" target="compile-widgetset-reserver" inheritall="true" buildpath="build" />
<subant antfile="build.xml" target="compile-widgetset-colorpicker" inheritall="true" buildpath="build" />
</parallel>
</target>
@@ -725,6 +745,10 @@
<target name="widgetset-default" depends="init-nonpackage, compile-widgetset-default">
</target>
+ <!-- Builds the sampler widgetset locally, i.e., not for an installation package. -->
+ <target name="widgetset-sampler" depends="init-nonpackage, compile-widgetset-sampler">
+ </target>
+
<!-- Builds the reservation widgetset locally, i.e., not for an installation package. -->
<target name="widgetset-reserver" depends="init-nonpackage, compile-widgetset-reserver">
</target>