Hristo,
I am using realityforge's elemental2 version 2.26 with GWT 2.8.2 and it is fine.
I understand what you would use jsinterop_base_version for (the jsinterop-base artifact version), but what are you using jsinterop_version for? 1.0.2-p1 looks too recent, and will require GWT 2.9 when it comes out.
-Rob
Peter,Getting this error with Elemental 2.26 and GWT 2.8.2:elemental2_version=2.26
jsinterop_base_version=1.0.0-b2-e6d791f jsinterop_version=1.0.2-p1...
Compiling module com.recres.web.MainDev Tracing compile failure path for type 'elemental2.core.JsArray' [ERROR] Errors in 'jar:file:/C:/g/caches/modules-2/files-2.1/org. realityforge.com.google. elemental2/elemental2-core/2. 26/ 1c407ef9a7e45ecc39be56283e9fe8 d677060257/elemental2-core-2. 26.jar!/elemental2/core/ JsArray.java' [ERROR] Line 3: The type javaemul.internal.ArrayStamper is not visible [ERROR] Line 258: ArrayStamper cannot be resolved [ERROR] Aborting compile due to errors in some input files Downgrading to 2.25 fixes the issue. Any clue?On Sunday, August 25, 2019 at 5:25:29 PM UTC-7, Peter Donald wrote:Elemental2 provides type-checked access to browser APIs for Java
code. This is done by using closure extern files and generating
JsTypes, which are part of the new JsInterop specification that
is implemented in both GWT and J2CL.
https://github.com/google/elemental2
This is an unofficial release to Maven Central under a different groupId.
Please don't bug the original authors. Versions are released on demand.
API Changes relative to Elemental2 version 2.25
elemental2-core:
API Differences: https://jsinterop.github.io/api-diff/?key=elemental2-core& old=2.25&new=2.26
- 1 non breaking changes.
- 3 potentially breaking changes.
- 1 breaking changes.
elemental2-dom:
API Differences: https://jsinterop.github.io/api-diff/?key=elemental2-dom& old=2.25&new=2.26
- 33 non breaking changes.
- 65 potentially breaking changes.
- 30 breaking changes.
The complete set of Elemental2 API differences is available at
https://jsinterop.github.io/api-diff/?key=elemental2&old= 2.25&new=2.26
The Maven dependencies can be added to your pom.xml via
<dependency>
<groupId>org.realityforge.com.google.elemental2</groupId>
<artifactId>${artifact-id}</artifactId>
<version>2.26</version>
</dependency>
where artifact-id is one of
* elemental2-core
* elemental2-dom
* elemental2-promise
* elemental2-indexeddb
* elemental2-svg
* elemental2-webgl
* elemental2-media
* elemental2-webstorage
* elemental2-webassembly
Hope this helps,
Peter Donald
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/2ab3805b-18a9-437f-90ed-935187f82514%40googlegroups.com.
No comments:
Post a Comment