Re: [gwt-contrib] Re: Elemental2:1.0.0-beta-2 released

2017-11-27 Thread Thomas Broyer
Well, it is already.

-- 
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-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/fd2b0514-e37e-4992-8055-48fb8ae513f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: Elemental2:1.0.0-beta-2 released

2017-11-27 Thread Slava Pankov
So it's going to be compatible with GWT 2.8.2 ?

On Wednesday, November 22, 2017 at 7:45:28 PM UTC-8, Julien Dramaix wrote:
>
> Thanks for this feedback Colin. I'll update the pom accordingly and do a 
> beta-3 release on Tuesday. 
>
> Julien
>
> On Wed, Nov 22, 2017 at 5:59 PM Colin Alworth  > wrote:
>
>> It looks like the poms weren't correctly updated - they still depend on 
>> jsinterop-base 1.0.0-beta-1, tickling 
>> https://github.com/google/elemental2/issues/20 again. The gwt2 compiler 
>> fails on this with this sort of error:
>> [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
>>
>> Simple workaround, manually add excludes on jsinterop-base, and inherit 
>> the correct version in your project:
>> 
>>   com.google.elemental2
>>   elemental2-dom
>>   1.0.0-beta-2
>>   
>> 
>>   com.google.jsinterop
>>   base
>> 
>>   
>> 
>> 
>>   com.google.jsinterop
>>   base
>>   1.0.0-beta-3
>> 
>>
>> Julien, if you do happen to release an updated beta to solve this, 
>> perhaps also update jsinterop-annotations to 1.0.2, the version that was 
>> released with GWT 2.8.2.
>>
>>
>>
>> On Wednesday, November 22, 2017 at 7:13:29 PM UTC-6, Julien Dramaix wrote:
>>>
>>> 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.jar 
>>> 
>>>
>>> elemental2-core
>>>
>>> elemental2.core.Core
>>>
>>> elemental2-promise.jar 
>>> 
>>>
>>> elemental2-promise
>>>
>>> elemental2.promise.Promise
>>>
>>> elemental2-dom.jar 
>>> 
>>>
>>> elemental2-dom
>>>
>>> elemental2.dom.Dom
>>>
>>> elemental2-svg.jar 
>>> 
>>>
>>> elemental2-svg
>>>
>>> elemental2.svg.Svg
>>>
>>> elemental2-webgl.jar 
>>> 
>>>
>>> elemental2-webgl
>>>
>>> elemental2.webgl.WebGl
>>>
>>> elemental2-media.jar 
>>> 
>>>
>>> elemental2-media
>>>
>>> elemental2.media.Media
>>>
>>> elemental2-indexeddb.jar 
>>> 
>>>
>>> elemental2-indexeddb
>>>
>>> elemental2.indexeddb.IndexedDb
>>>
>>> elemental2-webstorage.jar 
>>> 
>>>
>>> elemental2-webstorage
>>>
>>> elemental2.webstorage.WebStorage
>>>
>>>