]> source.dussan.org Git - vaadin-framework.git/commitdiff
Merged fix for #2819 - Updated build.xml to remove .gwt-tmp when a widgetset has...
authorArtur Signell <artur.signell@itmill.com>
Tue, 14 Apr 2009 12:13:25 +0000 (12:13 +0000)
committerArtur Signell <artur.signell@itmill.com>
Tue, 14 Apr 2009 12:13:25 +0000 (12:13 +0000)
svn changeset:7401/svn branch:6.0

build/build.xml

index 06bcd3fb79a61f05ec7dde6ddb325a7347163aca..e5cadfd72e869aa9f980d1beda07d4425f08c61b 100644 (file)
                <echo>TEST TARGET CALLED</echo>
        </target>
 
+       <target name="remove-widgetset-gwt-tmp">
+               <echo>Removing widgetset temp files</echo>
+               <delete dir="${output-dir}/WebContent/ITMILL/widgetsets/.gwt-tmp" includeemptydirs="true"/>
+       </target>
+
        <target name="compile-widgetset-default">
                <echo>Compiling src (client-side)</echo>
                <echo>com.itmill.toolkit.terminal.gwt.DefaultWidgetSet</echo>
                                <pathelement location="${result-path}/src" />
                        </classpath>
                </java>
+               <antcall target="remove-widgetset-gwt-tmp"/>
                <echo>Compiled DefaultWidgetSet</echo>
        </target>
 
                                <pathelement path="${output-dir}/WebContent/WEB-INF/src" />
                        </classpath>
                </java>
+               <antcall target="remove-widgetset-gwt-tmp"/>
                <echo>Compiled ReservationWidgetSet</echo>
        </target>
 
                                <pathelement path="${output-dir}/WebContent/WEB-INF/src" />
                        </classpath>
                </java>
+               <antcall target="remove-widgetset-gwt-tmp"/>
                <echo>Compiled SamplerWidgetSet</echo>
        </target>
        
                                <pathelement path="${output-dir}/WebContent/WEB-INF/src" />
                        </classpath>
                </java>
-               <echo>Compiled SamplerWidgetSet</echo>
+               <antcall target="remove-widgetset-gwt-tmp"/>
+               <echo>Compiled CoverflowWidgetSet</echo>
        </target>
        
        <target name="compile-widgetset-colorpicker">
                                <pathelement path="${output-dir}/WebContent/WEB-INF/src" />
                        </classpath>
                </java>
+               <antcall target="remove-widgetset-gwt-tmp"/>
                <echo>Compiled ColorPickerWidgetSet</echo>
        </target>