The beta version of Elemental2 using the JsInterop specification has been released on Sonatype today and is available on Maven central. This release should be the last beta release and I expect to release the first RC in few weeks.
This release introduces -- among others:
- a better granularity for api with numbers. Config files list APIs using integer instead of double.
- usage of wildcard type for more flexibility.
- support for javascript constructor function
- static factory methods for dictionary type.
Elemental2 is split into small jar files:
Jar file | artifact-id | GWT module |
elemental2-core | elemental2.core.Core | |
elemental2-promise | elemental2.promise.Promise | |
elemental2-dom | elemental2.dom.Dom | |
elemental2-svg | elemental2.svg.Svg | |
elemental2-webgl | elemental2.webgl.WebGl | |
elemental2-media | elemental2.media.Media | |
elemental2-indexeddb | elemental2.indexeddb.IndexedDb | |
elemental2-webstorage | elemental2.webstorage.WebStorage |
You can try them by downloading the jar files or adding Maven dependencies:
<dependency>
<groupId>com.google.elemental2</groupId>
<artifactId>${artifact-id}</artifactId>
<version>1.0.0-beta-2</version>
</dependency>
Then inherit the right gwt module in your gwt.xml file.
This beta version works only with the latest HEAD_SNAPSHOT release of GWT.
Don’t hesitate to report any bugs, issues, concerns you have on the github bug tracker.
Important note: This is a beta releases and future updates (up until the final release) may break code!
-Julien
[INFO] [ERROR] Errors in 'jar:file:/Users/colin/.m2/repository/com/google/elemental2/elemental2-dom/1.0.0-beta-2/elemental2-dom-1.0.0-beta-2.jar!/elemental2/dom/Element.java'
[INFO] [ERROR] Line 260: The method asString(Element.ReplaceWithNodesUnionType) is undefined for the type Js
[INFO] [ERROR] Line 303: The method asBoolean(Element.ScrollIntoViewTopUnionType) is undefined for the type Js
[INFO] [ERROR] Line 326: The method asBoolean(Element.SetAttributeNSValueUnionType) is undefined for the type Js
[INFO] [ERROR] Line 331: The method asDouble(Element.SetAttributeNSValueUnionType) is undefined for the type Js
[INFO] [ERROR] Line 336: The method asString(Element.SetAttributeNSValueUnionType) is undefined for the type Js
[INFO] [ERROR] Line 364: The method asBoolean(Element.SetAttributeValueUnionType) is undefined for the type Js
[INFO] [ERROR] Line 369: The method asDouble(Element.SetAttributeValueUnionType) is undefined for the type Js
[INFO] [ERROR] Line 374: The method asString(Element.SetAttributeValueUnionType) is undefined for the type Js
<dependency>
<groupId>com.google.elemental2</groupId>
<artifactId>elemental2-dom</artifactId>
<version>1.0.0-beta-2</version>
<exclusions>
<exclusion>
<groupId>com.google.jsinterop</groupId>
<artifactId>base</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.jsinterop</groupId>
<artifactId>base</artifactId>
<version>1.0.0-beta-3</version>
</dependency>
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/0860d34a-fca3-4bdd-bde2-e467f8f0bb7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
com.google.jsinterop:base:1.0.0-beta-3 was released to maven central on
nov 10:
http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.google.jsinterop%22%20AND%20a%3A%22base%22
--
Colin Alworth
co...@colinalworth.com
On Sun, Dec 3, 2017, at 07:28 PM, Hristo Stoyanov wrote:
> Hm ... Julien states it only works with the latest get head snapshot,
> maybe not 2.8.2? Also, seems like beta-3 with Colin's findings was never
> pushed out to maven?
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/214ed3ca-ddf7-46e4-a588-09ff28d731fc%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/1512404451.1048938.1193498520.6BB7DB76%40webmail.messagingengine.com.To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
<version>1.0.0-beta-3</version>
</dependency>
Then inherit the right gwt module in your gwt.xml file.
This beta version works only with the latest HEAD_SNAPSHOT release of GWT.
Don’t hesitate to report any bugs, issues, concerns you have on the github bug tracker.
Important note: This is a beta releases and future updates (up until the final release) may break code!
-Julien
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/0860d34a-fca3-4bdd-bde2-e467f8f0bb7c%40googlegroups.com.
There must be some cases where it requires the current head, but so far I haven't had any issue with 2.8.2.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/bb66fed8-82a5-4b80-a36c-c223578d7e8c%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.