[gwt-contrib] SNAPSHOT of 21 Sept breaks my build (invalid namespace

2016-09-21 Thread stuckagain
It looks like some changes to JSInterop are breaking my build

Compiling module com.swift.common.paging.PagingTest.JUnit
   Ignored 1 unit with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
   Errors in com/google/gwt/emul/java/lang/String.java
  [ERROR] Line 165: 'String.NativeFunction 
String.getFromCharCodeFunction()' has invalid namespace ''.
  [ERROR] Line 757: 'String.NativeString' has invalid namespace ''.

Additionally, how can I enable strict mode for GWTTestCases when using 
tbroyer's maven plugin ?

-- 
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/5e035a47-ff94-4bfa-869e-fee8fb1dd0fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] Re: SNAPSHOT of 21 Sept breaks my build (invalid namespace

2016-09-21 Thread Thomas Broyer


On Wednesday, September 21, 2016 at 11:46:25 AM UTC+2, stuckagain wrote:
>
> It looks like some changes to JSInterop are breaking my build
>
> Compiling module com.swift.common.paging.PagingTest.JUnit
>Ignored 1 unit with compilation errors in first pass.
> Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
> errors.
>Errors in com/google/gwt/emul/java/lang/String.java
>   [ERROR] Line 165: 'String.NativeFunction 
> String.getFromCharCodeFunction()' has invalid namespace ''.
>   [ERROR] Line 757: 'String.NativeString' has invalid namespace 
> ''.
>

Make (extra)sure you have the latest gwt-dev as well.
 

> Additionally, how can I enable strict mode for GWTTestCases when using 
> tbroyer's maven plugin ?
>

This actually is not possible, and a limitation of GWT itself (JUnitShell 
doesn't support -strict or -failOnError). 

-- 
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/e3ffcc03-8b4b-4cc1-b9eb-936d0232dde3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: SNAPSHOT of 21 Sept breaks my build (invalid namespace

2016-09-21 Thread David
I'm using maven and I only have a dependency on 2.8.0-SNAPSHOT.
I have forced an update of the snapshots in an eclipse refresh and now it
seems to work.
I guess it was a local maven/nexus issue ?

I hope -strict becomes the default, why would you want to ignore errors ?
In most cases it is hiding some issue that will surface later.

On Wed, 21 Sep 2016 at 14:44, Thomas Broyer  wrote:

>
>
> On Wednesday, September 21, 2016 at 11:46:25 AM UTC+2, stuckagain wrote:
>>
>> It looks like some changes to JSInterop are breaking my build
>>
>> Compiling module com.swift.common.paging.PagingTest.JUnit
>>Ignored 1 unit with compilation errors in first pass.
>> Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
>> errors.
>>Errors in com/google/gwt/emul/java/lang/String.java
>>   [ERROR] Line 165: 'String.NativeFunction
>> String.getFromCharCodeFunction()' has invalid namespace ''.
>>   [ERROR] Line 757: 'String.NativeString' has invalid namespace
>> ''.
>>
>
> Make (extra)sure you have the latest gwt-dev as well.
>
>
>> Additionally, how can I enable strict mode for GWTTestCases when using
>> tbroyer's maven plugin ?
>>
>
> This actually is not possible, and a limitation of GWT itself (JUnitShell
> doesn't support -strict or -failOnError).
>
> --
> 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/e3ffcc03-8b4b-4cc1-b9eb-936d0232dde3%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 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/CABrJHW2MpAJerjJkf1e9Ny-j2LuzrnNiz8QLWnjH%3DYbiibytKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] SNAPSHOT of 21 Sept breaks my build (invalid namespace

2016-09-21 Thread 'Roberto Lublinerman' via GWT Contributors
The error suggests a class path issue. The same patch that introduced
 in native string relaxed the checking for namespaces in the
compiler to allow this situation (
https://gwt-review.googlesource.com/#/c/16881/).

On Wed, Sep 21, 2016 at 2:46 AM, stuckagain  wrote:

> It looks like some changes to JSInterop are breaking my build
>
> Compiling module com.swift.common.paging.PagingTest.JUnit
>Ignored 1 unit with compilation errors in first pass.
> Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
> errors.
>Errors in com/google/gwt/emul/java/lang/String.java
>   [ERROR] Line 165: 'String.NativeFunction 
> String.getFromCharCodeFunction()'
> has invalid namespace ''.
>   [ERROR] Line 757: 'String.NativeString' has invalid namespace
> ''.
>
> Additionally, how can I enable strict mode for GWTTestCases when using
> tbroyer's maven plugin ?
>
> --
> 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/5e035a47-ff94-
> 4bfa-869e-fee8fb1dd0fc%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 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/CAC7T7gmZYsv%3DEknBAVUvsS_Dv_TKYex9dHD39G%2B3-tKT6Qf0wg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.