Wednesday, October 16, 2019

Re: [ANN] (Unofficial) Elemental2 2.26 release

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/1c407ef9a7e45ecc39be56283e9fe8d677060257/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/88772e13-7233-4257-9cd7-2aa15c7b959f%40googlegroups.com.

No comments:

Post a Comment