]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix for #2870 - Include information about which GWT version is used
authorArtur Signell <artur.signell@itmill.com>
Thu, 7 May 2009 07:11:56 +0000 (07:11 +0000)
committerArtur Signell <artur.signell@itmill.com>
Thu, 7 May 2009 07:11:56 +0000 (07:11 +0000)
svn changeset:7641/svn branch:6.0

build/GWT-VERSION.properties
build/build.xml

index 5aebe99a94e98b74713981785265142555f2c81a..c0c487e76d933fc89f5d363d73c99e5d3d31719a 100644 (file)
@@ -1 +1 @@
-gwt-version=1.5.3
+gwt-version=1.6.4
\ No newline at end of file
index ec50f34df76c03ab0d83baa1b6565cb25c216e6d..5649b7b86a4f619c1c5dfeb9ed350a49c27afca5 100644 (file)
 
                <property file="build/build.properties" />
                <property file="build/VERSION.properties" />
+               <property file="build/GWT-VERSION.properties" />
                <property file="build/html-style.properties" />
 
         <echo>Toolkit package is: ${toolkit-package}</echo>
                <!-- required when compiling WebContent/ITMILL/widgetsets (and also Java server-side classes) -->
                <property name="lib-gwt-dev" value="gwt-dev-${platform}.jar" />
 
-               <echo>We are on ${platform} platform (${os.name} ${os.version}), using ${gwt-dir}/${platform}/${lib-gwt-dev}.</echo>
+               <echo>We are on ${platform} platform (${os.name} ${os.version}), using ${gwt-dir}/${platform}/${lib-gwt-dev} (${gwt-version}).</echo>
 
                <!-- Destination files -->
                <property name="lib-jar-name" value="${product-file}-${version}.jar" />
        <!-- Definitions for building local components, i.e., not for an installation package. -->
        <target name="init-nonpackage" depends="init-platform">
                <property file="build/VERSION.properties" />
+               <property file="build/GWT-VERSION.properties" />
 
                <!-- Definitions for building the client-side. -->
                <property name="output-dir" value="." />
        <target name="libs" depends="compile-java, webcontent, compile-widgetset-default">
                <echo>Creating libs (server-side) ${lib-jar-name}</echo>
                <!-- Create Toolkit JAR -->
+               <mkdir dir="${output-dir}/META-INF"/>
+               <echo file="${output-dir}/META-INF/VERSION">${version}</echo> 
+               <echo file="${output-dir}/META-INF/GWT-VERSION">${gwt-version}</echo> 
+               
                <jar jarfile="${output-dir}/WebContent/WEB-INF/lib/${lib-jar-name}" compress="true">
+                       <metainf dir="${output-dir}/META-INF"/>
+                       
                        <fileset dir="${result-path}/classes">
                                <patternset>
                                        <exclude name="${toolkit-package}/demo/**" />