Re: What is best IDE for developing GWT applications?

2016-02-29 Thread Peter Donald
Hi,

On Tue, Mar 1, 2016 at 12:26 PM, Slava Pankov  wrote:
> I don't know why many people are suggesting IntelliJ for GWT. For example
> code completion in ui.xml files is not working in IntelliJ, and I don't
> understand how to develop UI efficiently without it.

It works fine for me and has in every version I have ever used.

The current version I am using is either 14.1.5 or  14.1.6

-- 
Cheers,

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+unsubscr...@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: What is best IDE for developing GWT applications?

2016-02-29 Thread Slava Pankov
I don't know why many people are suggesting IntelliJ for GWT. For example 
code completion in ui.xml files is not working in IntelliJ, and I don't 
understand how to develop UI efficiently without it.

On Monday, February 29, 2016 at 2:56:06 PM UTC-8, Stefan Falk wrote:
>
> To be hones I never tried IntelliJ with GWT but maybe I'll give it a try 
> sometime :)
>
> Is there actually some development going on? Either for Eclipse of 
> IntelliJ or are projects like these frozen?
>
>
> On Monday, 29 February 2016 17:46:54 UTC+1, Rogelio Flores wrote:
>>
>> @Stefan
>> You have run configurations for GWT similar to eclipse (with the google 
>> plugin) but better IMO, with SDM as default and you can still run classic 
>> DevMode if you want.
>> You can rename @UiField variables and it will rename all instances in 
>> your Java file and also on your ui.xml file (or vice versa, if you rename 
>> the ui:field on your ui.xml).
>> IntelliJ also comes with a Chrome Browser plugin so your debugging can be 
>> done on the IDE from the javascript + sourcemaps running on your browser.
>> There's also code-completion, syntax highlighting on JSNI javascript code 
>> (not sure if eclipse now has this).
>> I've imported numerous GWT maven-based projects and they just work and 
>> run from IntelliJ as soon as I create a run config which takes a few 
>> seconds.
>>
>> These might not sound like super features or way too different from 
>> eclipse, but consider the fact that I didn't have to get/install any IDE 
>> plugins and even if I did I don't even remember because installing a plugin 
>> is a lot simpler too.
>>
>>
>> #gwtisback ;-)
>>
>> On Sunday, February 28, 2016 at 5:35:45 PM UTC-7, Stefan Falk wrote:
>>>
>>> Somebody has to do it! :P
>>>
>>> #gwtisback
>>>
>>> On Monday, 29 February 2016 01:19:36 UTC+1, Alain wrote:

 "And GWT is such an awesome technology I am simply no getting why it's 
 so underused.."

 Advertissement :)

 On 29 February 2016 at 01:02, Stefan Falk  wrote:

> Well, as for me I am willing to do almost *anything* just for the sake 
> of not having to write too many JavaScript lines :D
>
> And GWT is such an awesome technology I am simply no getting why it's 
> so underused..
>
>
> On Sunday, 28 February 2016 23:15:17 UTC+1, Ed wrote:
>>
>> @Stefan
>> Totally Agree there are some points of concern.
>>
>> I am so used to doing things the "hard" way that I am immune to the 
>> pitfalls.
>>
>> At the end of the day Eclipse give me what I need for my particular 
>> use case.
>>
>> I usually do not use the build in server and deploy to jetty/tomcat 
>> instances for testing.
>>
>> Best Regards,
>>
>> Ed
>>
>>
>> On Sun, Feb 28, 2016 at 12:21 PM, Stefan Falk  
>> wrote:
>>
>>> @Ed: Don't get me wrong. I like Eclipse and I am basically an 
>>> Eclipse-only developer. I would use it to brew coffee if there was a 
>>> plug 
>>> in. :D
>>>
>>> What I'm just missing are some basic support e.g. if I use GWTP I 
>>> want to see some generated code. Java/GWT has some boilerplate code 
>>> that 
>>> could be generated.
>>>
>>> Another thing that annoys me is that @UiField thing. Sometimes it's 
>>> really annoying to keep all the field names up-to-date. Renaming stuff 
>>> is 
>>> sometimes a but nasty.
>>>
>>> Then there's the thing with the code server.. I'd really appreciate 
>>> a better view for the error messages that one gets there. You always 
>>> have 
>>> to search for the actual line that points out what's wrong instead of 
>>> seeing that message in the Eclipse "Markers" view or something.
>>>
>>> One more thing that I miss is a better Project Explorer. The files 
>>> are sorted by type and that means you get A.java B.java A.ui.xml 
>>> B.ui.xml 
>>> instead of A.java A.ui.xml B.java B.ui.xml. 
>>>
>>> Since I am using gwt-maven-archetypes I even have to kill the Code 
>>> Server by hand - I cannot use the Eclipse "Debug" or "Server" view for 
>>> that. 
>>>
>>> Maybe some of that stuff could be avoided or changed but it's not 
>>> supported out of the box by Eclipse afaik.
>>>
>>>
>>> @Gilberto: Yes, that's actually a good point. The plugins can be 
>>> sometimes a bit messy. 
>>>
>>> @Rogelio: What kind of support are we talking here? It happens that 
>>> I might have access to the Ultimate edition for free as a student.
>>>
>>>
>>> On Saturday, 27 February 2016 22:54:35 UTC+1, Rogelio Flores wrote:

 I find IntelliJ to be superior to eclipse, not only in its out of 
 the box (for the Ultimate edition--not free) support for GWT, but for 
 almost everything else. I was too an eclipse user for many years so I 
 

Re: What is best IDE for developing GWT applications?

2016-02-29 Thread Stefan Falk
To be hones I never tried IntelliJ with GWT but maybe I'll give it a try 
sometime :)

Is there actually some development going on? Either for Eclipse of IntelliJ 
or are projects like these frozen?


On Monday, 29 February 2016 17:46:54 UTC+1, Rogelio Flores wrote:
>
> @Stefan
> You have run configurations for GWT similar to eclipse (with the google 
> plugin) but better IMO, with SDM as default and you can still run classic 
> DevMode if you want.
> You can rename @UiField variables and it will rename all instances in your 
> Java file and also on your ui.xml file (or vice versa, if you rename the 
> ui:field on your ui.xml).
> IntelliJ also comes with a Chrome Browser plugin so your debugging can be 
> done on the IDE from the javascript + sourcemaps running on your browser.
> There's also code-completion, syntax highlighting on JSNI javascript code 
> (not sure if eclipse now has this).
> I've imported numerous GWT maven-based projects and they just work and run 
> from IntelliJ as soon as I create a run config which takes a few seconds.
>
> These might not sound like super features or way too different from 
> eclipse, but consider the fact that I didn't have to get/install any IDE 
> plugins and even if I did I don't even remember because installing a plugin 
> is a lot simpler too.
>
>
> #gwtisback ;-)
>
> On Sunday, February 28, 2016 at 5:35:45 PM UTC-7, Stefan Falk wrote:
>>
>> Somebody has to do it! :P
>>
>> #gwtisback
>>
>> On Monday, 29 February 2016 01:19:36 UTC+1, Alain wrote:
>>>
>>> "And GWT is such an awesome technology I am simply no getting why it's 
>>> so underused.."
>>>
>>> Advertissement :)
>>>
>>> On 29 February 2016 at 01:02, Stefan Falk  wrote:
>>>
 Well, as for me I am willing to do almost *anything* just for the sake 
 of not having to write too many JavaScript lines :D

 And GWT is such an awesome technology I am simply no getting why it's 
 so underused..


 On Sunday, 28 February 2016 23:15:17 UTC+1, Ed wrote:
>
> @Stefan
> Totally Agree there are some points of concern.
>
> I am so used to doing things the "hard" way that I am immune to the 
> pitfalls.
>
> At the end of the day Eclipse give me what I need for my particular 
> use case.
>
> I usually do not use the build in server and deploy to jetty/tomcat 
> instances for testing.
>
> Best Regards,
>
> Ed
>
>
> On Sun, Feb 28, 2016 at 12:21 PM, Stefan Falk  
> wrote:
>
>> @Ed: Don't get me wrong. I like Eclipse and I am basically an 
>> Eclipse-only developer. I would use it to brew coffee if there was a 
>> plug 
>> in. :D
>>
>> What I'm just missing are some basic support e.g. if I use GWTP I 
>> want to see some generated code. Java/GWT has some boilerplate code that 
>> could be generated.
>>
>> Another thing that annoys me is that @UiField thing. Sometimes it's 
>> really annoying to keep all the field names up-to-date. Renaming stuff 
>> is 
>> sometimes a but nasty.
>>
>> Then there's the thing with the code server.. I'd really appreciate a 
>> better view for the error messages that one gets there. You always have 
>> to 
>> search for the actual line that points out what's wrong instead of 
>> seeing 
>> that message in the Eclipse "Markers" view or something.
>>
>> One more thing that I miss is a better Project Explorer. The files 
>> are sorted by type and that means you get A.java B.java A.ui.xml 
>> B.ui.xml 
>> instead of A.java A.ui.xml B.java B.ui.xml. 
>>
>> Since I am using gwt-maven-archetypes I even have to kill the Code 
>> Server by hand - I cannot use the Eclipse "Debug" or "Server" view for 
>> that. 
>>
>> Maybe some of that stuff could be avoided or changed but it's not 
>> supported out of the box by Eclipse afaik.
>>
>>
>> @Gilberto: Yes, that's actually a good point. The plugins can be 
>> sometimes a bit messy. 
>>
>> @Rogelio: What kind of support are we talking here? It happens that I 
>> might have access to the Ultimate edition for free as a student.
>>
>>
>> On Saturday, 27 February 2016 22:54:35 UTC+1, Rogelio Flores wrote:
>>>
>>> I find IntelliJ to be superior to eclipse, not only in its out of 
>>> the box (for the Ultimate edition--not free) support for GWT, but for 
>>> almost everything else. I was too an eclipse user for many years so I 
>>> know 
>>> the difference.
>>>
>>>
>>> On Saturday, February 27, 2016 at 8:13:56 AM UTC-7, Gilberto wrote:

 Let's get real for a moment: Eclipse is a plug-in hell.

 Have you ever try to run a multi-module App Engine project with 
 multi module GWT app, configured with Maven? Don't even try, go to the 
 command line and run the server from 

GWT 2.8-SNAPSHOT has broken JSP support in SDM & DM

2016-02-29 Thread Pablo Nussembaum

  
  
Hi Guys,
After updating to Jetty 9.2 in GWT 2.8 the JSP support is not
working any more during debug (it doesn't matter if you use SDM o
DM).
It seems that since Jetty 9.2[1] jsp support is not enabled by
default and need to enabled when embedding. As a workaround you can
add this snippet[2] to web.xml.
I don't know if I this expected or I should fill a bug.

[1]
http://www.eclipse.org/jetty/documentation/current/configuring-jsp.html


[2] Code Snippet
 
    jsp
   
org.apache.jasper.servlet.JspServlet
    
   
  logVerbosityLevel
    DEBUG
    
    
    fork
    >false
    
    
    keepgenerated
    >true
    
    0
  
 
  
    jsp
    *.jsp
    *.jspf
    *.jspx
    *.xsp
    *.JSP
    *.JSPF
    *.JSPX
    *.XSP
  
  




-- 
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+unsubscr...@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.


Project structure in IntelliJ

2016-02-29 Thread Benjamin Tillman
Maybe I'm just missing something, but I can't find a way to stray from 
IntelliJ's suggested package structure for GWT apps (see this link 
).

For example, if I have an application organised using a standard Maven 
directory layout, I'd like to place my module file (module.gwt.xml) in the 
src/main/resources/com/example/ folder, but this breaks IntelliJ's GWT 
build (the GWT compiler simply reports back it can't find module.gwt.xml on 
the classpath). Including src/main/resources/ as a content root in 
IntelliJ's project structure window doesn't seem to make any difference 
either.

It's the same deal for my GSS files, but in this case it's even more 
annoying because as soon as my GSS files are outside of src/main/java then 
I lose some IDE support for those files too.

I can build with Maven or Gradle no problems, but I'm wondering if it's 
possible to get IntelliJ to do the same. Mostly for the IDE support, but 
just in general would be great.

Cheers,
Ben.

-- 
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+unsubscr...@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.


Several GWT modules on one page and RootPanel.get().addDomHandler()

2016-02-29 Thread Rocco De Angelis
Hi All,

I have a problem with several GWT modules on one page which all try to 
register a keydown handler on the page body element.
The problem seems to be that only one GWT module can call RootPanel.get() 
which will be perform a DOM.setListener() on the body.
The second call of RootPanel.get() from another model will overwrite the 
body.__listener so 
that com.google.gwt.user.client.impl.DOMImpl#getEventListener 
doesn't work anymore for all GWT modules (of course because the connection 
between dom and widget was overwritten)

My current solution is to add all handler for the body element using JSNI 
which is a little bit ugly!
So other / better ideas?

BR
Rocco

   

-- 
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+unsubscr...@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: What is best IDE for developing GWT applications?

2016-02-29 Thread Rogelio Flores
@Stefan
You have run configurations for GWT similar to eclipse (with the google 
plugin) but better IMO, with SDM as default and you can still run classic 
DevMode if you want.
You can rename @UiField variables and it will rename all instances in your 
Java file and also on your ui.xml file (or vice versa, if you rename the 
ui:field on your ui.xml).
IntelliJ also comes with a Chrome Browser plugin so your debugging can be 
done on the IDE from the javascript + sourcemaps running on your browser.
There's also code-completion, syntax highlighting on JSNI javascript code 
(not sure if eclipse now has this).
I've imported numerous GWT maven-based projects and they just work and run 
from IntelliJ as soon as I create a run config which takes a few seconds.

These might not sound like super features or way too different from 
eclipse, but consider the fact that I didn't have to get/install any IDE 
plugins and even if I did I don't even remember because installing a plugin 
is a lot simpler too.


#gwtisback ;-)

On Sunday, February 28, 2016 at 5:35:45 PM UTC-7, Stefan Falk wrote:
>
> Somebody has to do it! :P
>
> #gwtisback
>
> On Monday, 29 February 2016 01:19:36 UTC+1, Alain wrote:
>>
>> "And GWT is such an awesome technology I am simply no getting why it's 
>> so underused.."
>>
>> Advertissement :)
>>
>> On 29 February 2016 at 01:02, Stefan Falk  wrote:
>>
>>> Well, as for me I am willing to do almost *anything* just for the sake 
>>> of not having to write too many JavaScript lines :D
>>>
>>> And GWT is such an awesome technology I am simply no getting why it's so 
>>> underused..
>>>
>>>
>>> On Sunday, 28 February 2016 23:15:17 UTC+1, Ed wrote:

 @Stefan
 Totally Agree there are some points of concern.

 I am so used to doing things the "hard" way that I am immune to the 
 pitfalls.

 At the end of the day Eclipse give me what I need for my particular use 
 case.

 I usually do not use the build in server and deploy to jetty/tomcat 
 instances for testing.

 Best Regards,

 Ed


 On Sun, Feb 28, 2016 at 12:21 PM, Stefan Falk  
 wrote:

> @Ed: Don't get me wrong. I like Eclipse and I am basically an 
> Eclipse-only developer. I would use it to brew coffee if there was a plug 
> in. :D
>
> What I'm just missing are some basic support e.g. if I use GWTP I want 
> to see some generated code. Java/GWT has some boilerplate code that could 
> be generated.
>
> Another thing that annoys me is that @UiField thing. Sometimes it's 
> really annoying to keep all the field names up-to-date. Renaming stuff is 
> sometimes a but nasty.
>
> Then there's the thing with the code server.. I'd really appreciate a 
> better view for the error messages that one gets there. You always have 
> to 
> search for the actual line that points out what's wrong instead of seeing 
> that message in the Eclipse "Markers" view or something.
>
> One more thing that I miss is a better Project Explorer. The files are 
> sorted by type and that means you get A.java B.java A.ui.xml B.ui.xml 
> instead of A.java A.ui.xml B.java B.ui.xml. 
>
> Since I am using gwt-maven-archetypes I even have to kill the Code 
> Server by hand - I cannot use the Eclipse "Debug" or "Server" view for 
> that. 
>
> Maybe some of that stuff could be avoided or changed but it's not 
> supported out of the box by Eclipse afaik.
>
>
> @Gilberto: Yes, that's actually a good point. The plugins can be 
> sometimes a bit messy. 
>
> @Rogelio: What kind of support are we talking here? It happens that I 
> might have access to the Ultimate edition for free as a student.
>
>
> On Saturday, 27 February 2016 22:54:35 UTC+1, Rogelio Flores wrote:
>>
>> I find IntelliJ to be superior to eclipse, not only in its out of the 
>> box (for the Ultimate edition--not free) support for GWT, but for almost 
>> everything else. I was too an eclipse user for many years so I know the 
>> difference.
>>
>>
>> On Saturday, February 27, 2016 at 8:13:56 AM UTC-7, Gilberto wrote:
>>>
>>> Let's get real for a moment: Eclipse is a plug-in hell.
>>>
>>> Have you ever try to run a multi-module App Engine project with 
>>> multi module GWT app, configured with Maven? Don't even try, go to the 
>>> command line and run the server from there.
>>>
>>> Sometimes you lose days of work just setting up the environment. And 
>>> that sucks.
>>>
>>> But, I still use it. I prefer how Eclipse deal with git and how it's 
>>> code completion works (ctrl+space for everything, instead of a 
>>> different 
>>> shortcut for each type of code completion, like on IntelliJ). It's a 
>>> matter 
>>> of knowing what is possible and what is not inside the 

Re: GoogleBot is using the wrong permutation?

2016-02-29 Thread Ed Bras
Thanks, but I already have that. If I wouldn't have that, it would result
in another exception like I had in the past. Thanks.

On 29 February 2016 at 16:24, Michael Joyner  wrote:

> You need to have a "default" permutation for Google Bot:
>
> We use the following here:
>
> 
>  
>
> On 02/27/2016 10:10 AM, Rogelio Flores wrote:
>
> If you compile your app with the "PRETTY" compiler flag and then deploy it
> and run the same test, you might know exactly what "Kg" is (what its real
> name is on your Java code) which hopefully will let you know exactly what
> is failing and why.
>
>
> On Friday, February 26, 2016 at 2:29:21 AM UTC-7, Ed wrote:
>>
>> Ok, Still googlebot comes a long and after I deployed a new version I
>> always get google bot exceptions.
>>
>> I checked the permutation, and that often seem to be ok (not always).
>> That is: the one I receive as http header is the same as the one that I
>> send a long to the backend when an exception occurs.
>>
>> The error I get:
>> ---
>>
>> (TypeError) : Cannot call method 'Kg' of null
>>
>> at Unknown.vSb( https://www.
>> leuker.nl/app/aangifte/start/)
>>
>>
>>
>>
>>
>>
>> ---
>>
>> Any idea ?
>> I think it might come with the JS engine that googlebot uses. For
>> example: I don't support IE9, as I use JS features that aren't supported by
>> IE9 that result in similar errors.
>> But how to work around this? It's hard to see the exact error that occurs.
>>
>> - Ed
>>
> --
> 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+unsubscr...@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.
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "GWT Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/ixo_9kd-joU/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@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.
>

-- 
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+unsubscr...@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: GoogleBot is using the wrong permutation?

2016-02-29 Thread Michael Joyner

  
  
You need to have a "default" permutation for Google Bot:

We use the following here:


 

On 02/27/2016 10:10 AM, Rogelio Flores
  wrote:


  If you compile your app with the "PRETTY" compiler
flag and then deploy it and run the same test, you might know
exactly what "Kg" is (what its real name is on your Java code)
which hopefully will let you know exactly what is failing and
why.

  
  On Friday, February 26, 2016 at 2:29:21 AM UTC-7, Ed wrote:
  

  Ok, Still googlebot comes a long and after I deployed
a new version I always get google bot exceptions.
  
  
  I checked the permutation, and that often seem to be
ok (not always).
  That is: the one I receive as http header is the same
as the one that I send a long to the backend when an
exception occurs.
  
  
  The error I get:
  ---
  
(TypeError) : Cannot call method 'Kg' of null 

  

  

  
at Unknown.vSb(https://www.leuker.nl/app/aangifte/start/) 
  
  


  
  


  
  


  
  


  
  


  

  

  
  ---
  
  
  Any idea ?
  I think it might come with the JS engine that
googlebot uses. For example: I don't support IE9, as I
use JS features that aren't supported by IE9 that result
in similar errors. 
  But how to work around this? It's hard to see the
exact error that occurs.
  
  
  - Ed

  

  
  -- 
  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+unsubscr...@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.


  




-- 
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+unsubscr...@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.