summaryrefslogtreecommitdiffstats
path: root/all
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2016-05-02 14:30:42 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2016-06-01 10:59:24 +0300
commitfb63a60cc40133a0062dd77b9694d80b1b39155c (patch)
tree594dcba2dba8c732860fd6dd436a9ae93a658755 /all
parent68784363dca98529286420206b22a9a8881c70dc (diff)
downloadvaadin-framework-fb63a60cc40133a0062dd77b9694d80b1b39155c.tar.gz
vaadin-framework-fb63a60cc40133a0062dd77b9694d80b1b39155c.zip
Use gwt-user and gwt-dev dependencies in client and compiler
This removes GWT dependency from the server and shared parts of the framework Change-Id: Iafbb752c0184611a18d4a9d61c9e03229d42836e
Diffstat (limited to 'all')
-rw-r--r--all/pom.xml9
-rw-r--r--all/src/main/templates/release-notes.html28
2 files changed, 29 insertions, 8 deletions
diff --git a/all/pom.xml b/all/pom.xml
index 5d29cd73cb..7742b54f7d 100644
--- a/all/pom.xml
+++ b/all/pom.xml
@@ -126,18 +126,11 @@
<expandproperties />
<replacetokens begintoken="@" endtoken="@">
<token key="version" value="${project.version}" />
- </replacetokens>
- <replacetokens begintoken="@" endtoken="@">
<token key="version-minor"
value="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}" />
- </replacetokens>
- <replacetokens begintoken="@" endtoken="@">
+ <token key="gwt-version" value="${vaadin.gwt.version}" />
<token key="builddate" value="${maven.build.timestamp}" />
- </replacetokens>
- <replacetokens begintoken="@" endtoken="@">
<token key="release-notes-tickets" value="${release-notes-tickets}" />
- </replacetokens>
- <replacetokens begintoken="@" endtoken="@">
<token key="release-notes-authors" value="${release-notes-authors}" />
</replacetokens>
</filterchain>
diff --git a/all/src/main/templates/release-notes.html b/all/src/main/templates/release-notes.html
index 8c2a7d653e..9d942d3134 100644
--- a/all/src/main/templates/release-notes.html
+++ b/all/src/main/templates/release-notes.html
@@ -48,6 +48,7 @@
<li><a href="#incompatible">Incompatible or Behavior-altering Changes in
@version-minor@</a></li>
<li><a href="#knownissues">Known Issues and Limitations</a></li>
+ <li><a href="#gwtdep">GWT Dependency Changes</a></li>
<li><a href="#vaadin">Vaadin Installation</a></li>
<li><a href="#package">Package Contents</a></li>
<li><a href="#migrating">Migrating from Vaadin 6</a></li>
@@ -115,6 +116,7 @@
<li>The return type of BootstrapHandler.getWidgetsetForUI() has changed.</li>
<li>Vaadin shared no longer depends on a custom build of Guava. Any project that depends on Guava as a transitive dependency should use standard Guava.</li>
<li>Valo theme field error styles now apply to NativeSelect, ListSelect and TwinColSelect as well.</li>
+ <li>The way we handle GWT dependencies has been completely changed. See <a href="#gwtdep">this section</a> for more details</li>
</ul>
<h3 id="knownissues">Known Issues and Limitations</h3>
<ul>
@@ -157,6 +159,32 @@
<li>Grid does not support adding components to cells. Instead light-weight Renderers can be
used to present and edit data.</li>
</ul>
+
+ <h3 id="gwtdep">GWT Dependency Changes</h3>
+
+ <p>
+ The GWT dependencies for Vaadin are now provided as actual dependencies
+ and not bundled with Vaadin packages. This means that you can override
+ the GWT version in your own project if you want to. Note that the GWT Elemental
+ is still partially bundled with shared package to avoid having the gwt-user as a
+ dependency everywhere.
+ </p>
+
+ <ul>
+ <li>Basic Vaadin server-side only use does not need any changes to your project.</li>
+ <li>Custom widgets and Add-ons should work just like before.</li>
+ <li>Projects that use GWT RPC or other utils from the com.google package should add gwt-servlet dependency
+ <pre>
+&lt;dependency>
+ &lt;groupId>com.vaadin.external.gwt&lt;/groupId>
+ &lt;artifactId>gwt-servlet&lt;/artifactId>
+ &lt;version>@gwt-version@&lt;/version>
+&lt;/dependency>
+ </pre>
+ </li>
+ <li>OSGi currently does not work with client and client-compiler packages. Those should not be used with OSGi.</li>
+ </ul>
+
<h2 id="vaadin">Vaadin Installation</h2>