]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #5168 now creates an optimized client side for the HelloWorld and Calculator...
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 21 Jun 2010 10:48:08 +0000 (10:48 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 21 Jun 2010 10:48:08 +0000 (10:48 +0000)
svn changeset:13812/svn branch:6.4

build/build.xml
build/package/WebContent/WEB-INF/web.xml

index fe83c7449fbfad9a52f13f3bd84df75a095ba3ac..b9456f01a47d3edc6ff5fc964f76ff4f3b91078a 100644 (file)
     </target>
 
         <target name="compile-widgetset-sampler" unless="compile.only.default-widgetset">
-               <antcall target="compile-widgetset">
-                       <param name="widgetset" value="com.vaadin.demo.sampler.gwt.SamplerWidgetSet"/>
-               </antcall>
-           </target>
+       <antcall target="compile-widgetset">
+               <param name="widgetset" value="com.vaadin.demo.sampler.gwt.SamplerWidgetSet"/>
+       </antcall>
+    </target>
+       
+       <target name="compile-widgetset-optimized" unless="compile.only.default-widgetset">
+               <antcall target="compile-widgetset">
+                       <param name="widgetset" value="com.vaadin.demo.gwt.OptimizedWidgetSet"/>
+               </antcall>
+       </target>
+
         <target name="compile-widgetset-colorpicker" unless="compile.only.default-widgetset">
                <antcall target="compile-widgetset">
                        <param name="widgetset" value="com.vaadin.demo.colorpicker.gwt.ColorPickerWidgetSet"/>
         <antcall target="compile-widgetset-default"/>
         <antcall target="compile-widgetset-portal-default"/>
         <antcall target="compile-widgetset-sampler"/>
+        <antcall target="compile-widgetset-optimized"/>
         <antcall target="compile-widgetset-colorpicker"/>
     </target>
 
             <antcall target="compile-widgetset-default"/>
             <antcall target="compile-widgetset-portal-default"/>
             <antcall target="compile-widgetset-sampler"/>
+            <antcall target="compile-widgetset-optimized"/>
             <antcall target="compile-widgetset-colorpicker"/>
         </parallel>
     </target>
index 0d7af3dae2ee47c0c70230b7b4e2e9365bc31eb6..3e795d6199fc1961349e1a4531dfd37feb5bfdd5 100644 (file)
                        <param-name>application</param-name>
                        <param-value>com.vaadin.demo.HelloWorld</param-value>
                </init-param>
+               <!--
+                       As an example, we will use an optimized widget set. See
+                       SamplerWidgetSet.gwt.xml
+               -->
+               <init-param>
+                       <param-name>widgetset</param-name>
+                       <param-value>com.vaadin.demo.gwt.OptimizedWidgetSet</param-value>
+               </init-param>
        </servlet>
 
        <!-- Calculator demo application -->
                        <param-name>application</param-name>
                        <param-value>com.vaadin.demo.Calc</param-value>
                </init-param>
+               <init-param>
+               <!--
+                       As an example, we will use an optimized widget set. See
+                       SamplerWidgetSet.gwt.xml
+               -->
+                       <param-name>widgetset</param-name>
+                       <param-value>com.vaadin.demo.gwt.OptimizedWidgetSet</param-value>
+               </init-param>
        </servlet>
 
        <!--