Wednesday, November 2, 2016

Re: GWT 2.8.0 is not compatible with java6



On Wednesday, November 2, 2016 at 2:38:38 PM UTC+1, Juan Pablo Gardella wrote:
Hi all,

At release notes is not mentioned that now it will support only java7.

Good catch!
 

Can be updated the release notes with that?
http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0 

Let me know, I can create the pull request.

Yes please, go ahead. 

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Strange error with streams

Hi Andrey,

No problem, even a little bit latter. 

Please note that I have use GWT 2.8RC3 and preleased version of Guava. So if you fix something between RC3 and the release it may be a reason.

Best,
Stas

On Wednesday, November 2, 2016 at 2:31:16 PM UTC+1, Andrei Korzhevskii wrote:
Hi foal,

We had kind of similar problems when implemented Stream support but I cannot reproduce it now

Can I ask you to create simple maven project with these classes to reproduce it?

On Tuesday, November 1, 2016 at 1:14:27 PM UTC+2, foal wrote:
Simplified widget is in attachment. Mehod createButtons contains the the problem code.

Let me know if you need something else.

Stas

On Tuesday, November 1, 2016 at 11:13:41 AM UTC+1, Jens wrote:
Use -style PRETTY as SDM parameter so that the JS code is more readable. 

Looks like a GWT bug either in the compiler because of method references or inside the Stream emulation. If you can provide a minimal, reproducible example then open a bug report.

-- J.

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

GWT 2.8.0 is not compatible with java6

Hi all,

At release notes is not mentioned that now it will support only java7. I found tbroyer comment here:http://stackoverflow.com/questions/28879590/jdk-and-jre-minimal-versions-required-for-gwt-compiling-and-running

Can be updated the release notes with that?
http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0 

Let me know, I can create the pull request.

Thanks,
Juan

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

SafeHtml as return for com.google.gwt.i18n.client.Messages and GET 2.8

Hi,

I have changed the return type from String to SafeHtml in my resources and take unexpected behavior - "not a function" in log

So original code 

@DefaultLocale("en")
public interface ComplexText extends Messages {

       @Nonnull
    @DefaultMessage("Employees")
    String employees();
}


Updated code

@DefaultLocale("en")
public interface ComplexText extends Messages {

       @Nonnull
    @DefaultMessage("Employees")
    SafeHtml employees();

}

error in log after change:

ConsoleLogger.java:32TypeError: ($clinit_FtModuleRs_0_g$(...) , TXT_1_g$).employees_33_g$ is not a function
    at ServiceColumnModel_1_g$.configureColumns_13_g$ [as configureColumns_21_g$] (ServiceColumnModel.java:43)
    at ServiceColumnModel_1_g$.configureColumns_14_g$ [as configureColumns_19_g$] (ServiceColumnModel.java:36)
    at ServiceColumnModel_1_g$.CrudColumnModel_1_g$ (CrudColumnModel.java:15)
    at ServiceColumnModel_1_g$ (ServiceColumnModel.java:31)
    at com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment_89_g$.com$jresearchsoft$booking$ft$admin$module$client$service$widget$ServiceColumnModel_com$jresearchsoft$booking$ft$admin$module$client$service$widget$ServiceColumnModel_methodInjection_0_g$ [as com$jresearchsoft$booking$ft$admin$module$client$service$widget$ServiceColumnModel_com$jresearchsoft$booking$ft$admin$module$client$service$widget$ServiceColumnModel_methodInjection_1_g$] (com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment.j…:98)
    at com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment_89_g$.get_Key$type$com$jresearchsoft$booking$ft$admin$module$client$service$widget$ServiceColumnModel$_annotation$$none$$_0_g$ [as get_Key$type$com$jresearchsoft$booking$ft$admin$module$client$service$widget$ServiceColumnModel$_annotation$$none$$_1_g$] (com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment.j…:88)
    at com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment_89_g$.get_Key$type$com$jresearchsoft$booking$ft$admin$module$client$service$widget$ServiceGrid$_annotation$$none$$_0_g$ [as get_Key$type$com$jresearchsoft$booking$ft$admin$module$client$service$widget$ServiceGrid$_annotation$$none$$_1_g$] (com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment.j…:106)
    at com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment_89_g$.get_Key$type$com$jresearchsoft$booking$ft$admin$module$client$service$widget$ServiceListPanel$_annotation$$none$$_0_g$ [as get_Key$type$com$jresearchsoft$booking$ft$admin$module$client$service$widget$ServiceListPanel$_annotation$$none$$_1_g$] (com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment.j…:124)
    at com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment_87_g$.get_Key$type$com$jresearchsoft$booking$ft$admin$module$client$service$mvc$ServiceView$_annotation$$none$$_0_g$ [as get_Key$type$com$jresearchsoft$booking$ft$admin$module$client$service$mvc$ServiceView$_annotation$$none$$_1_g$] (com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment.j…:44)
    at com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment$1$1_21_g$.onSuccess_117_g$ [as onSuccess_172_g$] (com_jresearchsoft_booking_ft_admin_app_client_gin_AdminGinjector_AdminGinjectorGinjector_fragment.j…:67)
    at GWT$1_1_g$.execute_6_g$ [as execute_205_g$] (GWT.java:282)
    at $executeScheduled_0_g$ (SchedulerImpl.java:50)
    at runScheduledTasks_0_g$ (SchedulerImpl.java:183)
    at SchedulerImpl_1_g$.flushPostEventPumpCommands_0_g$ [as flushPostEventPumpCommands_1_g$] (SchedulerImpl.java:347)
    at SchedulerImpl$Flusher_1_g$.execute_10_g$ [as execute_206_g$] (SchedulerImpl.java:78)
    at execute_9_g$ (SchedulerImpl.java:141)
    at apply_50_g$ (Impl.java:239)
    at entry0_0_g$ (Impl.java:291)
    at Impl.java:77
    at callback_0_g$ (SchedulerImpl.java:196)

My guess is the GWT compiler incorrectly recognizes a SafeHtml parameter as a functional interface.

Best,
Stas

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Strange error with streams

Hi foal,

We had kind of similar problems when implemented Stream support but I cannot reproduce it now
in a simple test like https://gist.github.com/nordligulv/9dfa0ca5ccfed3def097aefc59ea1e32

Can I ask you to create simple maven project with these classes to reproduce it?

On Tuesday, November 1, 2016 at 1:14:27 PM UTC+2, foal wrote:
Simplified widget is in attachment. Mehod createButtons contains the the problem code.

Let me know if you need something else.

Stas

On Tuesday, November 1, 2016 at 11:13:41 AM UTC+1, Jens wrote:
Use -style PRETTY as SDM parameter so that the JS code is more readable. 

Looks like a GWT bug either in the compiler because of method references or inside the Stream emulation. If you can provide a minimal, reproducible example then open a bug report.

-- J.

--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Google Plugin for Eclipse Mars

Sorry Brandon, I was out of touch for a few days.
I tried to install the GWT Eclipse Plugin V3 on a fresh install of eclipse Neon.1a Release (4.6.1) (no plugin previously installed) targeting a new workspace and it shows the same error result:
An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. ...
I had GPE installed on my previous eclipse mars but it installed in a completely different location.
Eclipse oomph -> Bundle Pools shows that the artifact com.github.sdbg.debug.core_1.0.10.201610081555.jar is damaged, but repairing it doesn't do the trick (same error).
I am waiting for security clearance to post on the eclipse forum about this issue.
In the meantime, the GWT Eclipse Plugin V3 without SGBD + browser dev tool works fine for me.
Thomas

Le vendredi 28 octobre 2016 17:20:38 UTC+2, Brandon Donnelson a écrit :
What version of Eclipse, mars or neon? Was there an earlier version installed? 

If GPE was previously installed and you're replacing it with the GWT Eclipse Plugin V3 there is a possibility there are some left over bits from the previous install causing issues. I added a conflict, although there are cases I've seen where the uninstall wasn't perfect. Check your plugins list, and be sure any previous plugins that were owned by GPE were removed before install. 

If that doesn't work, I'd suggest installing a clean version of Eclipse and installing the plugin. I haven't seen any issues with a clean install, at least not yet. You're should be ok to use the same working directory. 

Would that help? 


--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: Google Plugin for Eclipse Mars

Sorry Brandon, I was out of touch for a few days.
I tried to install the GWT Eclipse Plugin V3 on a fresh install of eclipse Neon.1a Release (4.6.1) (no plugin previously installed) targeting a new workspace and it shows the same error result:
An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. ...
I had GPE installed on my previous eclipse mars but it installed in a completely different location.
Eclipse Neon oomph -> Bundle Pools shows that the artifact com.github.sdbg.debug.core_1.0.10.201610081555.jar is damaged, but repairing it does do the trick (same error).
I am waiting for security clearance to post on the eclipse forum about this issue.
In the meantime, the GWT Eclipse Plugin V3 without SGBD + browser dev tool works fine for me.
Best,
Thomas

Le vendredi 28 octobre 2016 17:20:38 UTC+2, Brandon Donnelson a écrit :
What version of Eclipse, mars or neon? Was there an earlier version installed? 

If GPE was previously installed and you're replacing it with the GWT Eclipse Plugin V3 there is a possibility there are some left over bits from the previous install causing issues. I added a conflict, although there are cases I've seen where the uninstall wasn't perfect. Check your plugins list, and be sure any previous plugins that were owned by GPE were removed before install. 

If that doesn't work, I'd suggest installing a clean version of Eclipse and installing the plugin. I haven't seen any issues with a clean install, at least not yet. You're should be ok to use the same working directory. 

Would that help? 


--
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 post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.