From 859a8edd94f6cb81c003040b55f3e97f1603c42e Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 18 Dec 2009 14:21:35 +0000 Subject: [PATCH] Initial GWT 2.0.0 support (#3810) svn changeset:10436/svn branch:6.3 --- build/GWT-VERSION.properties | 2 +- build/VERSION.properties | 2 +- build/build.properties | 2 +- build/build.xml | 110 ++++-------------- .../gwt/widgetsetutils/ClassPathExplorer.java | 6 +- 5 files changed, 28 insertions(+), 94 deletions(-) diff --git a/build/GWT-VERSION.properties b/build/GWT-VERSION.properties index e1d91e3dce..b796d79821 100644 --- a/build/GWT-VERSION.properties +++ b/build/GWT-VERSION.properties @@ -1 +1 @@ -gwt-version=1.7.0 \ No newline at end of file +gwt-version=2.0.0 \ No newline at end of file diff --git a/build/VERSION.properties b/build/VERSION.properties index 6bf1cb5179..3916413a56 100644 --- a/build/VERSION.properties +++ b/build/VERSION.properties @@ -1 +1 @@ -version=6.2.0 +version=6.3.0 diff --git a/build/build.properties b/build/build.properties index 4d8ef66429..281a7acb6b 100644 --- a/build/build.properties +++ b/build/build.properties @@ -5,4 +5,4 @@ product-name=Vaadin toolkit-package=com/vaadin eclipse-workspace-name=vaadin-examples eclipse-launch-vmargs=-Xms256M -Xmx512M -gwt-dir=build/gwt +gwt-dir=lib/core/gwt diff --git a/build/build.xml b/build/build.xml index 10dce77b31..a817945afd 100644 --- a/build/build.xml +++ b/build/build.xml @@ -25,18 +25,6 @@ package-oophm * vaadin-oophm-.zip - NOTE: This build script requires directories named ${gwt-dir}/(linux|windows|mac) . - See build.properties to define path where your gwt installation is located. - You must unpack platform specific binaries under linux, windows and mac directories. - ${gwt-dir}/${platform} (linux|windows|mac) are used for - a) compile WebContent/VAADIN/widgetsets - b) creating platform specific release ZIP/TGZ packages. - - NOTE FOR USING OOPHM: - * To build with oophm define the property platform=oophm - * In Eclipse this is done in External Tools Configurations -> properties - * If you are using windows you must use JDK 1.6 and not 1.5 - * To enable building with JDK 1.6, define ignoreversion=1 --> - @@ -153,7 +134,7 @@ Java Servlet API is available. - + Java Servlet API specification 2.3 used. @@ -162,27 +143,6 @@ - - - - - - - - - - - - - - - - - - - - - @@ -190,7 +150,7 @@ - + @@ -216,9 +176,8 @@ - - We are on ${platform} platform (${os.name} ${os.version}), using ${gwt-dir}/${platform}/${lib-gwt-dev} (${gwt-version}). + We are on ${platform} platform (${os.name} ${os.version}), using gwt version ${gwt-version}. @@ -266,8 +225,8 @@ - - + + @@ -283,7 +242,7 @@ - + @@ -307,7 +266,7 @@ - + @@ -330,7 +289,7 @@ - + @@ -349,7 +308,7 @@ - + @@ -545,7 +504,7 @@ - + @@ -849,8 +808,8 @@ - - + + @@ -916,8 +875,8 @@ - - + + @@ -929,8 +888,8 @@ - - + + @@ -984,8 +943,8 @@ - - + + @@ -1050,21 +1009,19 @@ - + + - - - - + + - We are on ${platform} platform, using ${gwt-dir}/${platform}/${lib-gwt-dev}. - GWT dir: ${gwt-dir} + We are on ${platform} platform, using ${lib-gwt-dev}. Widget sets output dir: ${widgetsets-output-dir} @@ -1284,28 +1241,9 @@ - - - - - - - - - - - - Creating symlink to GWT installation directory. - - - - - - - - + diff --git a/src/com/vaadin/terminal/gwt/widgetsetutils/ClassPathExplorer.java b/src/com/vaadin/terminal/gwt/widgetsetutils/ClassPathExplorer.java index 6a73911fd8..912cfa37a3 100644 --- a/src/com/vaadin/terminal/gwt/widgetsetutils/ClassPathExplorer.java +++ b/src/com/vaadin/terminal/gwt/widgetsetutils/ClassPathExplorer.java @@ -402,13 +402,9 @@ public class ClassPathExplorer { paintables.add((Class) c); // System.out.println("Found paintable " + fullclassName); } - } catch (ExceptionInInitializerError e) { - // e.printStackTrace(); } catch (ClassNotFoundException e) { // e.printStackTrace(); - } catch (NoClassDefFoundError e) { - // NOP - } catch (UnsatisfiedLinkError e) { + } catch (LinkageError e) { // NOP } catch (Exception e) { e.printStackTrace(); -- 2.39.5