Re: GWT SDM hanging on recompiles?

2020-08-11 Thread Michael Joyner
I've opened a ticket: https://github.com/gwtproject/gwt/issues/9704

On Thursday, August 6, 2020 at 7:15:37 PM UTC-4 peter.j...@gmail.com wrote:

> Are you on GWT 2.9.x? I have seen this intermittently after upgrading
> to GWT 2.9.x. Unfortunately I always forget to get a thread dump to
> see where it has got stuck.
>
> FWIW We run under JDK8, with no server component from IntelliJ IDE.
>
> On Fri, Aug 7, 2020 at 6:18 AM Michael Conrad  wrote:
> >
> > Greetings everyone.
> >
> > Hopefully someone can tell me what I need to change.
> >
> > When running SDM via Gradle, after so many recompiles, it will stop with 
> something similar to:
> >
> > GET /recompile/gwt
> > Job com.newsrx.ButterAdmin_1_7
> > starting job: com.newsrx.ButterAdmin_1_7
> >
> > and never actually do the compile.
> >
> > A non-hung recompile looks like:
> >
> > GET /recompile/gwt
> > Job com.newsrx.ButterAdmin_1_6
> > starting job: com.newsrx.ButterAdmin_1_6
> > binding: locale=default
> > binding: user.agent=safari
> > Compiling module com.newsrx.ButterAdmin
> > Unification traversed 876 fields and methods and 394 types. 17 are 
> considered part of the current module and 26 had all of their fields and 
> methods traversed.
> > Compiling 1 permutation
> > Compiling permutation 0...
> > Linking per-type JS with 17 new/changed types.
> > Source Maps Enabled
> > Compile of permutations succeeded
> > Compilation succeeded -- 2.086s
> > Linking into 
> /home/michael/git/ButterAdmin/ButterAdmin-client/build/gwt/work/com.newsrx.ButterAdmin/compile-8/war/gwt;
>  
> Writing extras to 
> /home/michael/git/ButterAdmin/ButterAdmin-client/build/gwt/work/com.newsrx.ButterAdmin/compile-8/extras/gwt
> > Link succeeded
> > Linking succeeded -- 0.186s
> > 2.475s total -- Compile completed
> >
> >
> > To fix the issue I have to kill it and start it over.
> >
> > Pointers as to what might be causing this?
> >
> > AdoptOpenJDK11 -> with -release 8.
> >
> > --
> > 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-tool...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-web-toolkit/b4f358f7-3783-db02-e31b-be305b5e9119%40newsrx.com
> .
>
>
>
> -- 
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/0d6a5c2a-d8a1-4651-8131-36407f9c903en%40googlegroups.com.


Re: My project is not working after installing the GWT Eclipse Plugin

2019-08-19 Thread Michael Joyner
Are you using the correct GWT plugin? Which plugin are you using? That 
version "2.6.1" is not supported. It should show 2.8.1 or 2.8.2.


On 8/19/19 10:24 AM, José Luiz Martins wrote:

Hi, very good morning!

I can't make use of super dev mode in my project, it happened after I 
installed the GWT Eclipse Plugin, eclipse returns the following error:


--

Unknown argument: -superDevMode

Google Web Toolkit 2.6.1

DevMode [-[no]startServer] [-port port-number | "auto"] [-whitelist 
whitelist-string] [-blacklist blacklist-string] [-logdir directory] 
[-logLevel level] [-gen dir] [-bindAddress host-name-or-address] 
[-codeServerPort port-number | "auto"] [-server 
servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-deploy 
dir] [-extra dir] [-workDir dir] [-sourceLevel [auto, 1.6, 1.7]] module[s]



where

-[no]startServerStarts a servlet container serving the directory 
specified by the -war flag. (defaults to ON)


-port Specifies the TCP port for the embedded web server (defaults to 
)


-whitelistAllows the user to browse URLs that match the specified 
regexes (comma or space separated)


-blacklistPrevents the user browsing URLs that match the specified 
regexes (comma or space separated)


-logdir Logs to a file in the given directory, as well as graphically

-logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, 
DEBUG, SPAM, or ALL


-genDebugging: causes normally-transient generated types to be saved 
in the specified directory


-bindAddressSpecifies the bind address for the code server and web 
server (defaults to 127.0.0.1)


-codeServerPort Specifies the TCP port for the code server (defaults 
to 9997)


-server Specify a different embedded web server to run (must implement 
ServletContainerLauncher)


-startupUrl Automatically launches the specified URL

-warThe directory into which deployable output files will be written 
(defaults to 'war')


-deploy The directory into which deployable but not servable output 
files will be written (defaults to 'WEB-INF/deploy' under the -war 
directory/jar, and may be the same as the -extra directory/jar)


-extraThe directory into which extra files, not intended for 
deployment, will be written


-workDirThe compiler's working directory for internal use (must be 
writeable; defaults to a system temp dir)


-sourceLevelSpecifies Java source level (defaults to auto:1.7)

and

module[s] Specifies the name(s) of the module(s) to host



-

can you help me?
--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/0cc89384-6e38-4d02-af1f-25b1bf42ce88%40googlegroups.com 
.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/db67f24e-7fbb-24c6-0a35-560f06845a2a%40newsrx.com.


Re: GWT - Still Active ?

2019-05-30 Thread Michael Joyner
Ideally, twice yearly release of "stable", with most recent appropriate 
patches applied, such as "2.201904" and "2.201910" or similar tagged 
releases would definitely help there.


On 5/30/19 3:33 PM, Bob Lacatena wrote:
I just posted this elsewhere, but as this thread has more current 
responses, I'm reposing it in the hopes that someone will read it:



GWT is suffering from a very serious publicity debacle. I'm actively 
doing GWT development, and regretting every moment of it right now.  
Years ago I loved GWT.  Today, I'm dreading it.


My biggest problem for the past year has been the fact that unless one 
hunts for threads like this, GWT does appear to be dead.  I don't know 
what the developers are doing.  I just know there were occasional 
hints that something was coming (a year ago), with not a sound since then.


Update gwtproject.org ! Put a few news items 
on it a month, at least.  Let people know you are working.  No matter 
how good your work is, more and more developers like me are going to 
abandon it as time drags on.


Or create a GWT 3.0 blog.  Something.  Anything other than the black 
hole of silence you have now.


I'm also very concerned that with the rewrite, every bit of code I'm 
working on now will be useless.  GWT before 3.0, from a developer who 
uses it, was and still is a nightmare if you don't want to use every 
widget, as it exists, out of the box, because too many of the classes 
use private members and methods, making them completely impossible to 
extend (which, I believe, is sort of the point of a lot of OOP concepts).


With GWT getting old, this is becoming painful, because GWT did cool 
things, like animation and date pickers and rich text editors, by 
brute force back when that was necessary.  Now, however, HTML5 and 
other things have evolved to offer better, cleaner solutions, but 
often it's difficult to impossible to make GWT work with those 
solutions, because of the private members.


I've even gotten into vicious cycles; copy the source for class X, to 
be able to fix it, but that requites a copy of private class Y, which 
requires a copy of private class Z, and on and on until I give up.


Instead, I have to "roll my own", which takes too much effort that 
could be spend on more productive pursuits. I'd rather use a framework 
with working widgets.


I didn't start out intending this to be a rant, but the bottom line is 
that I like GWT, I like being able to work exclusively in one 
language/framework instead of four at one time (Java + Angular + 
TypeScript + JQuery), but as a professional who is paid to make 
decisions that will have a decade-long impact on my company, I am very 
hard-pressed not to advise my company to immediately abandon all 
efforts using GWT.


*/Put some effort into communication!/ * [Which should be tattooed on 
the backs of every software engineer's hands, because as a species 
they seem to be oblivious to the concept.]


I am somewhat heartened by the existence of this thread, but I can't 
wait 6 months for GWT 3.0, only to find out it's not backwards 
compatible with much of our efforts, and it's lost so much popularity 
in the wild that it's considered a death-mark on one's resume.


- Bob

On Wednesday, May 29, 2019 at 8:54:05 PM UTC-4, Craig Mitchell wrote:

Also, see here for more comments:
https://groups.google.com/forum/#!topic/Google-Web-Toolkit/-6KuZjHFD5c


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/aa688813-7e77-454e-af26-4b06ad2b1b06%40googlegroups.com 
.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/12ce3c6f-a26d-f8b6-03b8-4de1ba0b9236%40newsrx.com.


Re: [gwt-contrib] Re: GWT 2.8.2 release => [ERROR] ... XmlRootElement ... XmlElement ... cannot be resolved to a type

2018-12-14 Thread Michael Joyner

Try removing sources

On 12/14/18 6:04 AM, Mehrdad Bozorg wrote:
Hi guys, I am new with Java and restful API, I have a similar problem 
and I have added this snippet in my pom.xml, but still, it does not 
recognize the @XmlRootElement. Do you have any solution for this?


On Monday, 23 October 2017 17:10:28 UTC+2, Michael Joyner wrote:

Thanks!

Adding gwt 'javax.xml.bind:jaxb-api:2.3.+' to our build.gradle
fixed it.


On 10/20/2017 03:54 PM, Slava Pankov wrote:

Try to add dependency to your pom.xml:


      javax.xml.bind
      jaxb-api
      2.3.0
sources
      provided
    

On Friday, October 20, 2017 at 8:32:02 AM UTC-7, Michael Joyner
wrote:

Eh...

I changed my gradle build config to use 2.8.2 and started
getting import annotation errors (below).

Switching back 2.8.1 and the errors go away.

The annotations are imports from:

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

> Task :compileGwt
Compiling module selenium.RestyGwtCodecTester
   Tracing compile failure path for type
'me.pubz.sitemap.SitemapIndex'
  [ERROR] Errors in

'jar:file:/home/michael/git/SHARED-POJOS/SHARED-POJOS/build/libs/SHARED-POJOS-20170711.jar!/me/pubz/sitemap/SitemapIndex.java'
 [ERROR] Line 15: XmlRootElement cannot be resolved
to a type
 [ERROR] Line 45: XmlElement cannot be resolved to a type
 [ERROR] Line 22: XmlAttribute cannot be resolved to
a type
 [ERROR] Line 8: The import javax.xml.bind cannot be
resolved
 [ERROR] Line 32: XmlAttribute cannot be resolved to
a type
 [ERROR] Line 7: The import javax.xml.bind cannot be
resolved
 [ERROR] Line 9: The import javax.xml.bind cannot be
resolved
 [ERROR] Line 27: XmlAttribute cannot be resolved to
a type

offending code:

package me.pubz.sitemap;


import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by AmitG on 20-03-2014.
 */

@XmlRootElement(name = "sitemapindex")
public class SitemapIndex {

    private String xmlns;
    private List sitemaps;
    private String elapsed;

    @XmlAttribute()
    public Date getGenerated(){
        return new java.util.Date();
    }

    @XmlAttribute()
    public String getXmlns() {
    return xmlns;
    }

    @XmlAttribute()
    public String getElapsed(){
        return elapsed;
    }

    public void setElapsed(String elapsed){
        this.elapsed=elapsed;
    }

    public void setXmlns(String xmlns) {
    this.xmlns = xmlns;
    }

    @XmlElement(name = "sitemap")
    public List getSitemaps() {
    return sitemaps;
    }

    public void setSitemaps(List sitemaps) {
    this.sitemaps = sitemaps;
    }
}

-- 
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/9df8d586-90cc-4443-8cfe-94b53942d2a7%40googlegroups.com

<https://groups.google.com/d/msgid/google-web-toolkit-contributors/9df8d586-90cc-4443-8cfe-94b53942d2a7%40googlegroups.com?utm_medium=email_source=footer>.
For more options, visit https://groups.google.com/d/optout
<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 
<mailto: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/0d59e66f-15f9-4c9f-881d-63d928c9235b%40googlegroups.com 
<https://groups.google.com/d/msgid/google-web-toolkit-contributors/0d59e66f-15f9-4c9f-881d-63d928c9235b%40googlegroups.com?utm_medium=email_source=footer>.

For more options, visit https://groups.google.com/d/optout.


--
You received this message

Re: GWT Future plan: CompletableFuture ?

2018-11-19 Thread Michael Joyner
It is part of the JRE standard is it not? Shouldn't it be part of the 
standard JRE emulation?


On 11/16/18 4:21 PM, Ahmad Bawaneh wrote:

why it should be?! why not use it as a stand alone lib? we already do.

On Friday, November 16, 2018 at 4:55:16 PM UTC+2, Michael Joyner wrote:


Is this going to make into GWT JRE Emulation proper any time soon?

https://github.com/OneGeek/GWT-CompletableFuture

<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FOneGeek%2FGWT-CompletableFuture=D=1=AFQjCNGgmaacotnCNzV_TLZBYm3HYrWGEA>

--
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 
<mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
To post to this group, send email to 
google-web-toolkit@googlegroups.com 
<mailto: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: [gwt-contrib] GWT 3.0 ready editors porting completed

2018-11-16 Thread Michael Joyner

Can this be used with any UI kit?

On 11/16/18 10:32 AM, Ahmad Bawaneh wrote:

Hi
i would like to announce that i have completed the gwt-editors porting 
to annotation processor, and now is GWT 3.0 ready.


the work was started by both Colin Alworth 
 and Frank Hossfeld 
 thanks for them both for the great work


both me and Rafat Al-Barouki  made the final 
touches to make ready


We appreciate your kind review of the new ported module at

https://github.com/DominoKit/gwt-editors

Thanks
--
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/52db809c-f009-4db6-b2d8-ef3103019983%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/2f378177-0f77-626e-c3a6-b297bccbbdfc%40newsrx.com.
For more options, visit https://groups.google.com/d/optout.


GWT Future plan: CompletableFuture ?

2018-11-16 Thread Michael Joyner


Is this going to make into GWT JRE Emulation proper any time soon?

https://github.com/OneGeek/GWT-CompletableFuture

--
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: New Gradle plugin for GWT available

2018-09-21 Thread Michael Joyner

Which isn't in my inbox.

On 09/20/2018 12:02 PM, esoco GmbH wrote:

See first post in this thread.

Am Donnerstag, 20. September 2018 16:08:07 UTC+2 schrieb Michael Joyner:

Which plugin?



--
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: New Gradle plugin for GWT available

2018-09-20 Thread Michael Joyner

Which plugin?

On 09/20/2018 04:05 AM, esoco GmbH wrote:
Yes, I'm using the plugin (that was the main reason for forking it) 
and are also still using GWT. It's difficult to tell about the long 
run but given the mature and stable Java environment I still see GWT 
as a good solution to create web applications, especially ones that 
need to be maintained for some time. Not everything in the software 
business is "fire and forget" :-)

--
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.


First I heard of "Domino UI"

2018-09-17 Thread Michael Joyner

First I heard of "Domino UI".

Any one out there with experience with it?

regarding UI there is now good libs for GWT if you are looking for 
material design: for example
Domino-ui 
 
: type safe UI libs based on elemental2 and elemento with material 
design and has no dependency on external JS.

Vue-Gwt  :  GWT wrapper over Vue.js

both are targeting GWT 3.0




--
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: GWT install at University

2018-08-07 Thread Michael Joyner

  
  
If each
student installs a "profile" specific copy of Eclipse, they can
add GWT as a plugin which would be installed into their copy of
Eclipse. No admin/etc rights required. Just Java available.

On 08/07/2018 10:35 AM, Ahmed III
  wrote:


  
  
Our university labs have PCs with a centralised
  application-install system. This allows students to have
  identical profiles whichever PC they log on from at Uni. If
  they once installed Java, then everywhere they go they will
  find that Java is installed, because the network clones their
  profile as soon as they log on, so that they find everything
  that they want on that PC.
  
  
  
  Students are not allowed the privilege of
installing any software on Uni PCs.
  
  
  We want them to use Java and GWT to individually
build applications by themselves. For that, we need to set them
up with everything. This means we have to inform tech services
of all the files and applications that need to be made available
to the students so that after they install them the first time
round, they are sorted for the rest of term, whichever PC they
log on from. 
  
  
  I am sure there’s a technical shorthand for what I
am describing but I am being overly descriptive for clarity. 
  
  
  Many thanks,
  Ahmed
  

  On Tue, 7 Aug 2018 at 2:49 pm, Velusamy Velu
 wrote:
  
  
Please explain what do you mean by
  "installing GWT". We use GWT to develop internet
  applications.

  
  On Monday, August 6, 2018 at 4:14:32 PM UTC-4, Ahmed Is
  wrote:
  Hi guys - anyone here have
experience rolling out GWT for a cohort at university? 

I am specifically interested in installing GWT on
University Windows servers so that it can be used by
about 100 students simultaneously. 

Anyone have experience with that? 

Alternatively, are there any cloud hosts for GWT? 

Thanks!

-- 
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.
  

  
  -- 
  Ahmed
--
http://www.youtube.com/watch?v=jC01kqE4EU0
  -- 
  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.


Re: GWT behaves differently in Chrom vs Firefox

2018-07-30 Thread Michael Joyner
tasks.withType(org.wisepersist.gradle.plugins.gwt.AbstractGwtActionTask) {
args "-noincremental"
}
gwt {
logLevel = 'INFO'
maxHeapSize = "2048M";
gwtVersion='2.8.2'
modules 'xxx
//src += files("build/generated/source/apt/main");
compiler {
//ea = false //enable assert statements for testing result conditions
strict = true;
style = "OBF";
//style = "PRETTY";
//style = "DETAILED";
localWorkers = 4;
}
superDev {
noPrecompile = true;
failOnError = false;
bindAddress = "0.0.0.0";
}
eclipse {
addGwtContainer = true;
}
}

On Mon, Jul 30, 2018 at 3:44 PM, Velusamy Velu  wrote:

> Michael & David
>
> After clearing the TEMP folder and clearing the compiler caches at
> localhost:9876 that error message disappeared.
>
> Thanks a lot
>
> Velusamy K. Velu
> 614-321-9649
>
> 
>
>
> On Mon, Jul 30, 2018 at 3:18 PM Jens  wrote:
>
>>
>> Hi Michael: I tried this by Windows > Preferences > General > Workspace
>>> > Build and unchecked the "Build automatically" option. It didn't help.
>>> Am I doing the right thing? Is there any other option?
>>>
>>
>> GWT SuperDevMode has its own cache that you can clear by visiting the
>> SuperDevMode page (localhost:9876) and hit the small clean button at the
>> bottom. Once you have done that SDM starts from scratch and compiles
>> everything again.
>>
>> -- J.
>>
>> --
>> 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/IYcu87xv4RA/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.
>

-- 
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: GWT behaves differently in Chrom vs Firefox

2018-07-30 Thread Michael Joyner
We use Gradle here and we turn off SDM incremental when needed from there.

On Mon, Jul 30, 2018 at 2:58 PM, Velusamy Velu  wrote:

> Hi Michael: I tried this by Windows > Preferences > General > Workspace >
> Build and unchecked the "Build automatically" option. It didn't help. Am
> I doing the right thing? Is there any other option?
>
> Thanks
> Velu
>
> On Tuesday, July 24, 2018 at 11:08:00 AM UTC-4, Michael Joyner wrote:
>>
>> Is this in SDM mode? If yes, try turning off incremental compilations.
>>
>> On Mon, Jul 23, 2018 at 9:43 PM, Velusamy Velu  wrote:
>>
>>> Friends:
>>>
>>> I have an application written using GWT 2.8.2 framework and it behaves
>>> differently. The snippet of the GWT code in question is here -
>>> (ReferenceError) : L_g_g$ is not defined
>>>
>>>
>>>   for (int j = 1; j < nodes.size(); j++) {
>>> Node previousNode = nodes.get(j - 1);
>>> Node currentNode = nodes.get(j);
>>> int indexFrom = previousNode.getIndex();
>>> int indexTo = currentNode.getIndex();
>>>
>>> if (!connectionMatrix[indexFrom][indexTo]) {
>>>   connectionMatrix[indexFrom][indexTo] = true;
>>>   connectionMatrix[indexTo][indexFrom] = true;
>>>   contributed = true;
>>>   BondTriple bondTriple = new BondTriple(indexFrom, indexTo);
>>>
>>>
>>> The last line of the above code snippet is the Culprit. It works as
>>> expected in FireFox, in Chrome however, it throws "L_g_g$ is not defined"
>>> error. In debugger mode I found that L_g_g$ refers to the *BondTriple*
>>> as highlighted here > BondTriple bondTriple = new *BondTriple*(indexFrom
>>> , indexTo);
>>>
>>> This code has been thoroughly unit tested and every functionality was
>>> verified. The fact that it works in Firefox but fails in Chrome baffles me
>>> even more. BondTriple defined as below. I'm using non-primitive attributes
>>> to check for null. Have anyone ran into a situation like this? I'm having
>>> hard time figuring out what could be wrong. Your help will be greatly
>>> appreciated.
>>>
>>> public class BondTriple implements Jsonable {
>>>   private Integer start;
>>>   private Integer finish;
>>>   private Integer bondType;
>>>   private Shape connector;
>>>
>>>   public BondTriple(Integer start, Integer finish) {
>>> this.start = start;
>>> this.finish = finish;
>>>   }
>>> ...
>>>
>>>
>>>
>>> --
>>> 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-we...@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.
>

-- 
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: GWT behaves differently in Chrom vs Firefox

2018-07-24 Thread Michael Joyner
Is this in SDM mode? If yes, try turning off incremental compilations.

On Mon, Jul 23, 2018 at 9:43 PM, Velusamy Velu  wrote:

> Friends:
>
> I have an application written using GWT 2.8.2 framework and it behaves
> differently. The snippet of the GWT code in question is here -
> (ReferenceError) : L_g_g$ is not defined
>
>
>   for (int j = 1; j < nodes.size(); j++) {
> Node previousNode = nodes.get(j - 1);
> Node currentNode = nodes.get(j);
> int indexFrom = previousNode.getIndex();
> int indexTo = currentNode.getIndex();
>
> if (!connectionMatrix[indexFrom][indexTo]) {
>   connectionMatrix[indexFrom][indexTo] = true;
>   connectionMatrix[indexTo][indexFrom] = true;
>   contributed = true;
>   BondTriple bondTriple = new BondTriple(indexFrom, indexTo);
>
>
> The last line of the above code snippet is the Culprit. It works as
> expected in FireFox, in Chrome however, it throws "L_g_g$ is not defined"
> error. In debugger mode I found that L_g_g$ refers to the *BondTriple* as
> highlighted here > BondTriple bondTriple = new *BondTriple*(indexFrom,
>  indexTo);
>
> This code has been thoroughly unit tested and every functionality was
> verified. The fact that it works in Firefox but fails in Chrome baffles me
> even more. BondTriple defined as below. I'm using non-primitive attributes
> to check for null. Have anyone ran into a situation like this? I'm having
> hard time figuring out what could be wrong. Your help will be greatly
> appreciated.
>
> public class BondTriple implements Jsonable {
>   private Integer start;
>   private Integer finish;
>   private Integer bondType;
>   private Shape connector;
>
>   public BondTriple(Integer start, Integer finish) {
> this.start = start;
> this.finish = finish;
>   }
> ...
>
>
>
> --
> 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.


Is there a better way to detect when in SDM mode?

2018-05-29 Thread Michael Joyner

Currently we are using the following to detect when in "SDM" mode:

private static Boolean isSdm = null;
    public static boolean isSdm() {
        if (isSdm==null) {
            isSdm=false;
            GWT.log("SDM MODE: "+(isSdm=true)); // only compiles and 
runs when SDM is active

        }
        return isSdm;
    }

Is there a better way?

--
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: Eclipse (neon) with the GWT app translates the Java code of Paul Falstad's electronic simulator into JavaScript

2018-02-02 Thread Michael Joyner
I wonder if it might be related to using Java float or double in the 
math code, javascript numbers don't exactly match up.



On 02/01/2018 07:49 PM, Vinyasi wrote:
I compiled Paul Falstad's electronic simulator in Eclipse (neon) 
adding a switch as you suggested called -draftCompile which had no 
effect in altering the behavior of the simulator.


On Tuesday, January 30, 2018 at 6:11:43 AM UTC-8, Jens wrote:

First try upgrading to GWT 2.8.2 and check if the problem still
exists. If it still exists try compiling the app using
-draftCompile which disables nearly all optimizations done by the
GWT compiler. If the problem disappears the compiler has done a
problematic optimization, which is probably pretty tough to figure
out.

-- 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+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: Strange elemental 2 behavior and weird workaround

2017-12-05 Thread Michael Joyner
Have you tried deleting the tmp/gwt* folders used by sdm mode? We have 
to do that sometimes to get rid of erroneous errors about stale types 
and other oddness which crops up sometimes while developing.



On 12/05/2017 04:36 AM, nikola wrote:



Sometimes, with no apparent reason It starts reporting error on some 
method call in form :



/Uncaught TypeError: xxx_0_g$.yyy_0_g$ is not a function/


Maven clean build doesn't help and code is 100% correct.


The only thing that helps is to hit enter on method that calls 
problematic code and move it few lines below and then reload browser!



I am using recent elmental2 and 2.8.2 (also happened on last version).


I know that elmental 2 is in alpha stage and I can't reproduce this 
error in clean steps but if someone else experience similar thing 
please report here so it can be recognize as an issue.



Thanks

--
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.


Re: [gwt-contrib] Re: GWT 2.8.2 release => [ERROR] ... XmlRootElement ... XmlElement ... cannot be resolved to a type

2017-10-23 Thread Michael Joyner

Thanks!

Adding gwt 'javax.xml.bind:jaxb-api:2.3.+' to our build.gradle fixed it.


On 10/20/2017 03:54 PM, Slava Pankov wrote:

Try to add dependency to your pom.xml:


      javax.xml.bind
      jaxb-api
      2.3.0
sources
      provided
    

On Friday, October 20, 2017 at 8:32:02 AM UTC-7, Michael Joyner wrote:

Eh...

I changed my gradle build config to use 2.8.2 and started getting
import annotation errors (below).

Switching back 2.8.1 and the errors go away.

The annotations are imports from:

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

> Task :compileGwt
Compiling module selenium.RestyGwtCodecTester
   Tracing compile failure path for type
'me.pubz.sitemap.SitemapIndex'
  [ERROR] Errors in

'jar:file:/home/michael/git/SHARED-POJOS/SHARED-POJOS/build/libs/SHARED-POJOS-20170711.jar!/me/pubz/sitemap/SitemapIndex.java'
 [ERROR] Line 15: XmlRootElement cannot be resolved to a type
 [ERROR] Line 45: XmlElement cannot be resolved to a type
 [ERROR] Line 22: XmlAttribute cannot be resolved to a type
 [ERROR] Line 8: The import javax.xml.bind cannot be resolved
 [ERROR] Line 32: XmlAttribute cannot be resolved to a type
 [ERROR] Line 7: The import javax.xml.bind cannot be resolved
 [ERROR] Line 9: The import javax.xml.bind cannot be resolved
 [ERROR] Line 27: XmlAttribute cannot be resolved to a type

offending code:

package me.pubz.sitemap;


import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by AmitG on 20-03-2014.
 */

@XmlRootElement(name = "sitemapindex")
public class SitemapIndex {

    private String xmlns;
    private List sitemaps;
    private String elapsed;

    @XmlAttribute()
    public Date getGenerated(){
        return new java.util.Date();
    }

    @XmlAttribute()
    public String getXmlns() {
    return xmlns;
    }

    @XmlAttribute()
    public String getElapsed(){
        return elapsed;
    }

    public void setElapsed(String elapsed){
        this.elapsed=elapsed;
    }

    public void setXmlns(String xmlns) {
    this.xmlns = xmlns;
    }

    @XmlElement(name = "sitemap")
    public List getSitemaps() {
    return sitemaps;
    }

    public void setSitemaps(List sitemaps) {
    this.sitemaps = sitemaps;
    }
}

--
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 
<mailto: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/9df8d586-90cc-4443-8cfe-94b53942d2a7%40googlegroups.com 
<https://groups.google.com/d/msgid/google-web-toolkit-contributors/9df8d586-90cc-4443-8cfe-94b53942d2a7%40googlegroups.com?utm_medium=email_source=footer>.

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/7b4bc583-7518-0eeb-5752-127e95fcfb73%40newsrx.com.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.2 release => [ERROR] ... XmlRootElement ... XmlElement ... cannot be resolved to a type

2017-10-23 Thread Michael Joyner

Thanks!

Adding gwt 'javax.xml.bind:jaxb-api:2.3.+' to our build.gradle fixed it.


On 10/20/2017 03:53 PM, Slava Pankov wrote:

Try to add dependency to your pom.xml:

    
      javax.xml.bind
      jaxb-api
      2.3.0
sources
      provided
    


On Friday, October 20, 2017 at 8:32:20 AM UTC-7, Michael Joyner wrote:

Eh...

I changed my gradle build config to use 2.8.2 and started getting
import annotation errors (below).

Switching back 2.8.1 and the errors go away.

The annotations are imports from:

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

> Task :compileGwt
Compiling module selenium.RestyGwtCodecTester
   Tracing compile failure path for type
'me.pubz.sitemap.SitemapIndex'
  [ERROR] Errors in

'jar:file:/home/michael/git/SHARED-POJOS/SHARED-POJOS/build/libs/SHARED-POJOS-20170711.jar!/me/pubz/sitemap/SitemapIndex.java'
 [ERROR] Line 15: XmlRootElement cannot be resolved to a type
 [ERROR] Line 45: XmlElement cannot be resolved to a type
 [ERROR] Line 22: XmlAttribute cannot be resolved to a type
 [ERROR] Line 8: The import javax.xml.bind cannot be resolved
 [ERROR] Line 32: XmlAttribute cannot be resolved to a type
 [ERROR] Line 7: The import javax.xml.bind cannot be resolved
 [ERROR] Line 9: The import javax.xml.bind cannot be resolved
 [ERROR] Line 27: XmlAttribute cannot be resolved to a type

offending code:

package me.pubz.sitemap;


import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by AmitG on 20-03-2014.
 */

@XmlRootElement(name = "sitemapindex")
public class SitemapIndex {

    private String xmlns;
    private List sitemaps;
    private String elapsed;

    @XmlAttribute()
    public Date getGenerated(){
        return new java.util.Date();
    }

    @XmlAttribute()
    public String getXmlns() {
    return xmlns;
    }

    @XmlAttribute()
    public String getElapsed(){
        return elapsed;
    }

    public void setElapsed(String elapsed){
        this.elapsed=elapsed;
    }

    public void setXmlns(String xmlns) {
    this.xmlns = xmlns;
    }

    @XmlElement(name = "sitemap")
    public List getSitemaps() {
    return sitemaps;
    }

    public void setSitemaps(List sitemaps) {
    this.sitemaps = sitemaps;
    }
}

--
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 
<mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
To post to this group, send email to 
google-web-toolkit@googlegroups.com 
<mailto: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.


[gwt-contrib] GWT 2.8.2 release => [ERROR] ... XmlRootElement ... XmlElement ... cannot be resolved to a type

2017-10-20 Thread Michael Joyner

Eh...

I changed my gradle build config to use 2.8.2 and started getting import 
annotation errors (below).


Switching back 2.8.1 and the errors go away.

The annotations are imports from:

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

> Task :compileGwt
Compiling module selenium.RestyGwtCodecTester
   Tracing compile failure path for type 'me.pubz.sitemap.SitemapIndex'
  [ERROR] Errors in 
'jar:file:/home/michael/git/SHARED-POJOS/SHARED-POJOS/build/libs/SHARED-POJOS-20170711.jar!/me/pubz/sitemap/SitemapIndex.java'

 [ERROR] Line 15: XmlRootElement cannot be resolved to a type
 [ERROR] Line 45: XmlElement cannot be resolved to a type
 [ERROR] Line 22: XmlAttribute cannot be resolved to a type
 [ERROR] Line 8: The import javax.xml.bind cannot be resolved
 [ERROR] Line 32: XmlAttribute cannot be resolved to a type
 [ERROR] Line 7: The import javax.xml.bind cannot be resolved
 [ERROR] Line 9: The import javax.xml.bind cannot be resolved
 [ERROR] Line 27: XmlAttribute cannot be resolved to a type

offending code:

package me.pubz.sitemap;


import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by AmitG on 20-03-2014.
 */

@XmlRootElement(name = "sitemapindex")
public class SitemapIndex {

    private String xmlns;
    private List sitemaps;
    private String elapsed;

    @XmlAttribute()
    public Date getGenerated(){
        return new java.util.Date();
    }

    @XmlAttribute()
    public String getXmlns() {
    return xmlns;
    }

    @XmlAttribute()
    public String getElapsed(){
        return elapsed;
    }

    public void setElapsed(String elapsed){
        this.elapsed=elapsed;
    }

    public void setXmlns(String xmlns) {
    this.xmlns = xmlns;
    }

    @XmlElement(name = "sitemap")
    public List getSitemaps() {
    return sitemaps;
    }

    public void setSitemaps(List sitemaps) {
    this.sitemaps = sitemaps;
    }
}

--
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/6f9cf5f1-0f75-9e55-3ddf-9d489d979249%40newsrx.com.
For more options, visit https://groups.google.com/d/optout.


GWT 2.8.2 release => [ERROR] ... XmlRootElement ... XmlElement ... cannot be resolved to a type

2017-10-20 Thread Michael Joyner

Eh...

I changed my gradle build config to use 2.8.2 and started getting import 
annotation errors (below).


Switching back 2.8.1 and the errors go away.

The annotations are imports from:

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

> Task :compileGwt
Compiling module selenium.RestyGwtCodecTester
   Tracing compile failure path for type 'me.pubz.sitemap.SitemapIndex'
  [ERROR] Errors in 
'jar:file:/home/michael/git/SHARED-POJOS/SHARED-POJOS/build/libs/SHARED-POJOS-20170711.jar!/me/pubz/sitemap/SitemapIndex.java'

 [ERROR] Line 15: XmlRootElement cannot be resolved to a type
 [ERROR] Line 45: XmlElement cannot be resolved to a type
 [ERROR] Line 22: XmlAttribute cannot be resolved to a type
 [ERROR] Line 8: The import javax.xml.bind cannot be resolved
 [ERROR] Line 32: XmlAttribute cannot be resolved to a type
 [ERROR] Line 7: The import javax.xml.bind cannot be resolved
 [ERROR] Line 9: The import javax.xml.bind cannot be resolved
 [ERROR] Line 27: XmlAttribute cannot be resolved to a type

offending code:

package me.pubz.sitemap;


import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by AmitG on 20-03-2014.
 */

@XmlRootElement(name = "sitemapindex")
public class SitemapIndex {

    private String xmlns;
    private List sitemaps;
    private String elapsed;

    @XmlAttribute()
    public Date getGenerated(){
        return new java.util.Date();
    }

    @XmlAttribute()
    public String getXmlns() {
    return xmlns;
    }

    @XmlAttribute()
    public String getElapsed(){
        return elapsed;
    }

    public void setElapsed(String elapsed){
        this.elapsed=elapsed;
    }

    public void setXmlns(String xmlns) {
    this.xmlns = xmlns;
    }

    @XmlElement(name = "sitemap")
    public List getSitemaps() {
    return sitemaps;
    }

    public void setSitemaps(List sitemaps) {
    this.sitemaps = sitemaps;
    }
}

--
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.


assert false; causes "Cannot read property 'replace' of undefined

2017-10-18 Thread Michael Joyner
Eh... don't think this is quite right... it seems an assert without an 
":" argument is not handled properly in the assert logging code.


|Wed Oct 18 12:35:36 GMT-400 2017 
com.google.gwt.logging.client.LogConfiguration

SEVERE: (TypeError) : Cannot read property 'replace' of undefined
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot 
read property 'replace' of undefined|


--
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.


[gwt-contrib] assert false; causes "Cannot read property 'replace' of undefined

2017-10-18 Thread Michael Joyner
Eh... don't think this is quite right... it seems an assert without an 
":" argument is not handled properly in the assert logging code.


|Wed Oct 18 12:35:36 GMT-400 2017 
com.google.gwt.logging.client.LogConfiguration

SEVERE: (TypeError) : Cannot read property 'replace' of undefined
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot 
read property 'replace' of undefined|


--
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/a3ade70b-930e-26d2-17bb-863f441a6be3%40newsrx.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading to GWT 2.8.1 - GWTP Servlet Error

2017-07-19 Thread Michael Joyner

  
  
Hrmmm does gwtp have a separate support mailing list? It really
  is a server side issue, we don't use GWTP here at this time.


On 07/19/2017 09:52 AM, Renat Kabirov
  wrote:


  My guess that code server somehow using servlet-api
of 2.3, because after compiling we have in target code libs
servlet-api 2.3 which is not used by any kind of dependency.
Servlet-api 2.3 starts downloading before output of checkstyle
plugin. I tried to remove this plugin, but nothing changes. 


About gwt-rpc, yes we are using couple dependencies from
  there: 
<dependency>
<groupId>com.gwtplatformgroupId>
<artifactId>gwtp-dispatch-rpc-clientartifactId>
<version>${gwtp.version}version>
<scope>providedscope>

dependency>
<dependency>
 
  <groupId>com.gwtplatformgroupId>
 
  <artifactId>gwtp-dispatch-rpc-server-guiceartifactId>
 
  <version>${gwtp.version}version>
dependency>
<dependency>
<groupId>com.gwtplatformgroupId>
<artifactId>gwtp-dispatch-rpc-sharedartifactId>
<version>${gwtp.version}version>
<scope>compilescope>

dependency> 


where gwtp.version is 1.6, so they are latest. 




  
  
On Wed, Jul 19, 2017 at 8:37 AM,
  Michael Joyner <mich...@newsrx.com>
  wrote:
  

  At this point I'm at a bit of a loss I'm afraid. The
issue is really happening as a servlet error based on
what I'm seeing and not really as a GWT client front end
issue. Are you using GWT-RPC? If yes, is the gwt rpc jar
in the final war? Are any other required jars making it
into your war (such as the rs-api jar)?
  
  
  On
07/18/2017 04:46 PM, Renat Kabirov wrote:
  
  
Yes, we do, we have
  javax.ws.rs:javax.ws.rs-api 2.0.1 in our dependencies.
  
  On Tuesday, July 18, 2017 at 3:03:13 PM UTC-5, Michael
  Joyner wrote:
  

  I just noticed one of our projects has as
dependencies:
      providedCompile
'javax.servlet:javax.servlet-api:3.0.1'
    compile 'javax.ws.rs:javax.ws.rs-api:2.0.1'
  
      Do you have the second one?
  
  
  On 07/18/2017 01:36 PM, Michael Joyner wrote:
  
  


We use Gradle here and not Maven, so I'm
  stuck at this point. I do know that when we
  previously tried 3.1.0 we had all sorts of
  issues with the Tomcat version we were using
  at the time. You might need to include an
  additional dependency for use by your servlet
  container. Jetty?


   
On 07/18/2017 11:33 AM, Renat Kabirov
  wrote:

  
            

  

  Hi Michael Joyner, 


Just changed version to 3.0.1 - I
  see error during building: 
  
   Module setup completed in
  32400 ms
java.lang.NoClassDefFoundError:
  javax/servlet/http/HttpSessionIdListener
	at
  org.eclipse.jetty.server.session.SessionHandler.(SessionHandler.java:54)
	at
  org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:241)
	at
  org.eclipse.jetty.servlet.ServletContextHandler.getSessionHandler(ServletContextHandler.java:334)
	at

Re: Upgrading to GWT 2.8.1

2017-07-18 Thread Michael Joyner

  
  
I just noticed one of our projects has as dependencies:
    providedCompile 'javax.servlet:javax.servlet-api:3.0.1'
      compile 'javax.ws.rs:javax.ws.rs-api:2.0.1'

Do you have the second one?


On 07/18/2017 01:36 PM, Michael Joyner
  wrote:


  
  
  
  We use Gradle here and not Maven, so I'm stuck at this point. I
do know that when we previously tried 3.1.0 we had all sorts of
issues with the Tomcat version we were using at the time. You
might need to include an additional dependency for use by your
servlet container. Jetty?
  
  
  On 07/18/2017 11:33 AM, Renat Kabirov
wrote:
  
  
Hi Michael Joyner, 
  
  
  Just changed version to 3.0.1 - I see error during
building: 

     Module setup completed in 32400 ms
  java.lang.NoClassDefFoundError:
javax/servlet/http/HttpSessionIdListener
  	at
org.eclipse.jetty.server.session.SessionHandler.(SessionHandler.java:54)
  	at
org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:241)
  	at
org.eclipse.jetty.servlet.ServletContextHandler.getSessionHandler(ServletContextHandler.java:334)
  	at
org.eclipse.jetty.servlet.ServletContextHandler.relinkHandlers(ServletContextHandler.java:180)
  	at
org.eclipse.jetty.servlet.ServletContextHandler.(ServletContextHandler.java:157)
  	at
org.eclipse.jetty.servlet.ServletContextHandler.(ServletContextHandler.java:117)
  	at
org.eclipse.jetty.servlet.ServletContextHandler.(ServletContextHandler.java:105)
  	at
com.google.gwt.dev.codeserver.WebServer.start(WebServer.java:129)
  	at
com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:162)
  	at
com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:104)
  	at
com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:55)
  	at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
  	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  	at
java.lang.reflect.Method.invoke(Method.java:498)
  	at
com.google.gwt.dev.shell.SuperDevListener.runCodeServer(SuperDevListener.java:112)
  	at
com.google.gwt.dev.shell.SuperDevListener.start(SuperDevListener.java:91)
  	at
com.google.gwt.dev.DevMode.ensureCodeServerListener(DevMode.java:666)
  	at
com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:810)
  	at
com.google.gwt.dev.DevMode.doStartup(DevMode.java:551)
  	at
com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:913)
  	at
com.google.gwt.dev.DevModeBase.run(DevModeBase.java:706)
  	at
com.google.gwt.dev.DevMode.main(DevMode.java:432)
  Caused by: java.lang.ClassNotFoundException:
javax.servlet.http.HttpSessionIdListener
  	at
java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  	at
java.lang.ClassLoader.loadClass(ClassLoader.java:424)
  	at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
  	at
java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  	... 23 more
  Disconnected from the target VM, address: '127.0.0.1:57494',
transport: 'socket'

  


  On Mon, Jul 17, 2017 at 3:51 PM,
Michael Joyner <mich...@newsrx.com>
wrote:

  
try putting servlet to 3.0.1 and not 3.1.0 and see if
  that helps.


On
  07/17/2017 03:13 PM, Renat Kabirov wrote:


  I have a problem upgrading to GWT 2.8.1
from 2.7.0. 


Changed version of gwt in pom. Checked
  dependencies, updated them. Changed servlet-api
  version to 3.1.0. 


When I try to run application code server has
  an error: 
  HTTP
ERROR: 500
  Problem
accessing /. Reason:
  java.lang.NoSuchMetho

Re: SerializationException when application is modified

2017-07-18 Thread Michael Joyner

  
  
As far as trying to catch the rpc exception, you might try
  setting a global uncaught exception handler then seeing if you can
  trap them via that method. We have switched to using
  resty-gwt/json here and longer use the built in GWT-RPC
  serializer.

You could try putting a ?=versionNumber at the end of the nocache
  js include in the main html file. (of course bumping the version
  number each release or what not). This should force a reload of
  the main js when reloading the main html file. I do know at one
  time there was a bug in the compiled output in version 2.7 in
  regards to timestamps for the output js file which would cause
  this issue on consistent basis. The only thing I can think of is
  that the html file is being cached and not reloaded perhaps or
  that the timestamp on the nocache or main html file is screwy.

On 07/18/2017 02:14 PM, Óscar Frías
  Barranco wrote:


  We are following the recommendations on http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching


But I am afraid that whatever the
  headers some browsers will cache some files anyway so we
  really need a way to force a reload of the web application
  when RPC calls return an exception.
  

Any ideas on how to implement this?


  
  On Tue, Jul 18, 2017 at 7:34 PM,
Michael Joyner <mich...@newsrx.com>
wrote:

  
We use https://github.com/realityforge/gwt-cache-filter
  to help deal with caching issues.

 
  On
07/18/2017 12:15 PM, Óscar Frías Barranco wrote:
  


Hi.
  
  When we modify the code of our GWT application, in
  particular the classes that travel through GWT
  calls, these exceptions are generated for many
  users for a few hours:
  
  com.google.gwt.user.client.rpc.SerializationException:
  Type '.' was not assignable to
  'com.google.gwt.user.client.rpc.IsSerializable'
  and did not have a custom field serializer.For
  security purposes, this type will not be
  serialized.: instance = .
  
  We think that this is due to browsers caching the
  previous (old) code which is no longer aligned
  with the server code.  We have reviewed all HTTP
  headers related to caching and all of the are, we
  think, correctly configured.
  
  So our plan is to force a reload of the browser
  page with a location.reload(true) when we detect
  that the SerializationException is being thrown at
  the server.  Any ideas about how to implement this
  easily?  Our code if full of AsyncCallback calls
  and we would like to avoid editing each one of
  them.  Is there a place where we could insert a
  client code that would be executed for every RPC
  call and that will call location.reload(true) if a
  SerializationException is thrown ?
  
  Thanks!
  

-- 
   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/Kt9DygTyQ-U/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 e

Re: Upgrading to GWT 2.8.1

2017-07-18 Thread Michael Joyner

  
  


We use Gradle here and not Maven, so I'm stuck at this point. I
  do know that when we previously tried 3.1.0 we had all sorts of
  issues with the Tomcat version we were using at the time. You
  might need to include an additional dependency for use by your
  servlet container. Jetty?


On 07/18/2017 11:33 AM, Renat Kabirov
  wrote:


  Hi Michael Joyner, 


Just changed version to 3.0.1 - I see error during
  building: 
  
   Module setup completed in 32400 ms
java.lang.NoClassDefFoundError:
  javax/servlet/http/HttpSessionIdListener
	at
org.eclipse.jetty.server.session.SessionHandler.(SessionHandler.java:54)
	at
org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:241)
	at
org.eclipse.jetty.servlet.ServletContextHandler.getSessionHandler(ServletContextHandler.java:334)
	at
org.eclipse.jetty.servlet.ServletContextHandler.relinkHandlers(ServletContextHandler.java:180)
	at
org.eclipse.jetty.servlet.ServletContextHandler.(ServletContextHandler.java:157)
	at
org.eclipse.jetty.servlet.ServletContextHandler.(ServletContextHandler.java:117)
	at
org.eclipse.jetty.servlet.ServletContextHandler.(ServletContextHandler.java:105)
	at
  com.google.gwt.dev.codeserver.WebServer.start(WebServer.java:129)
	at
  com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:162)
	at
  com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:104)
	at
  com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:55)
	at
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native
  Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at
  java.lang.reflect.Method.invoke(Method.java:498)
	at
com.google.gwt.dev.shell.SuperDevListener.runCodeServer(SuperDevListener.java:112)
	at
com.google.gwt.dev.shell.SuperDevListener.start(SuperDevListener.java:91)
	at
  com.google.gwt.dev.DevMode.ensureCodeServerListener(DevMode.java:666)
	at
  com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:810)
	at
  com.google.gwt.dev.DevMode.doStartup(DevMode.java:551)
	at
  com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:913)
	at
  com.google.gwt.dev.DevModeBase.run(DevModeBase.java:706)
	at
  com.google.gwt.dev.DevMode.main(DevMode.java:432)
Caused by: java.lang.ClassNotFoundException:
  javax.servlet.http.HttpSessionIdListener
	at
  java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at
  java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at
  sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at
  java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 23 more
Disconnected from the target VM, address: '127.0.0.1:57494',
  transport: 'socket'
  

  
  
On Mon, Jul 17, 2017 at 3:51 PM,
  Michael Joyner <mich...@newsrx.com>
  wrote:
  

  try putting servlet to 3.0.1 and not 3.1.0 and see if
that helps.
  
  
  On
07/17/2017 03:13 PM, Renat Kabirov wrote:
  
  
I have a problem upgrading to GWT 2.8.1
  from 2.7.0. 
  
  
  Changed version of gwt in pom. Checked
dependencies, updated them. Changed servlet-api
version to 3.1.0. 
  
  
  When I try to run application code server has an
error: 
HTTP
  ERROR: 500
Problem
  accessing /. Reason:
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getHeader(Ljava/lang/String;)Ljava/lang/String;
Powered
by Jetty://
  
  
  
  From
what I got, I understand that Code server trying
to use wrong version of servlet-api. I see in my
classpath servlet-api version 2.3, but I removed
all other servlet-api ve

Re: SerializationException when application is modified

2017-07-18 Thread Michael Joyner

  
  
We use https://github.com/realityforge/gwt-cache-filter
  to help deal with caching issues.


On 07/18/2017 12:15 PM, Óscar Frías
  Barranco wrote:


  Hi.

When we modify the code of our GWT application, in particular
the classes that travel through GWT calls, these exceptions are
generated for many users for a few hours:

com.google.gwt.user.client.rpc.SerializationException: Type
'.' was not assignable to
'com.google.gwt.user.client.rpc.IsSerializable' and did not have
a custom field serializer.For security purposes, this type will
not be serialized.: instance = .

We think that this is due to browsers caching the previous (old)
code which is no longer aligned with the server code.  We have
reviewed all HTTP headers related to caching and all of the are,
we think, correctly configured.

So our plan is to force a reload of the browser page with a
location.reload(true) when we detect that the
SerializationException is being thrown at the server.  Any ideas
about how to implement this easily?  Our code if full of
AsyncCallback calls and we would like to avoid editing each one
of them.  Is there a place where we could insert a client code
that would be executed for every RPC call and that will call
location.reload(true) if a SerializationException is thrown ?

Thanks!

  
  -- 
  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.


Re: How to detect removed element in GWT

2017-07-13 Thread Michael Joyner

  
  



On 07/13/2017 04:14 PM, Jens wrote:


  AFAICT this should have worked. Given that Elements
in GWT are pretty close to the real JS API I don't see a reason
why this should not work. Maybe you have a bug somewhere in your
code? Are you sure that other class removes the correct element?


In pure  JS it works https://jsfiddle.net/08sh6nhz/ and the
  generated GWT code shouldn't be that different.


-- 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+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: How to detect removed element in GWT

2017-07-13 Thread Michael Joyner

  
  
Might require a deferred op. I have done stuff with add/removing
  and it seems to work best to do the op then continue everything
  else in a deferred.


On 07/13/2017 04:14 PM, Jens wrote:


  AFAICT this should have worked. Given that Elements
in GWT are pretty close to the real JS API I don't see a reason
why this should not work. Maybe you have a bug somewhere in your
code? Are you sure that other class removes the correct element?


In pure  JS it works https://jsfiddle.net/08sh6nhz/
  and the generated GWT code shouldn't be that different.


-- 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+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: GWT Client for App Engine Endpoints

2017-01-11 Thread Michael Joyner (NewsRx)
I don't know how much it will help, but RestyGWT could be used for the 
GWT client to access JSON data via a predefined and share-able json rest 
interface definition.


Then you could use the builts, (a bit manaully), of libGDX net to to 
http/json calls to the end point.


The end point I would think would need to be a separate project, just 
use a predefined endpoint API in your clients to access it as a 3rd 
party service.



On 01/11/2017 10:12 AM, Matthew Rubenstein wrote:
Hello. I'm trying to add a Google Endpoints client to a LibGDX 
project. Adding one to the GWT module is causing me a lot of problems. 
Is there a demo GWT project that includes an Endpoints client, 
deployable to Google App Engine? A project I can open in Android 
Studio, so either a Gradle project or a (working) Eclipse project that 
can be imported by AS?


The LibGDX project setup application generates as an Android Studio 
Gradle project, like this game demo:
https://github.com/libgdx/libgdx-demo-superjumper 



including Android, desktop, GWT ("html" module) and even Ios modules. 
The platform-nonspecific code (most of the clients application code) 
is implemented in the "core" module. I've added a simple HTTP XML 
client to a LigGDX GWT module. But it's not really an Endpoints 
client; it doesn't share the API from the rest of the project as an 
API, just as a component of a URL string. Is there a direct way to add 
an Endpoints client to that GWT module that can share the API with the 
backend and the other client modules? I'd rather not tack on yet 
another programming environment in a Javascript phase (ie. JsInterop) 
after GWT just to add the Endpoints client to what is otherwise a Java 
project. Thanks for your insights.



...

FWIW, I tried to get help in the Google App Engine group:
https://groups.google.com/forum/?utm_source=footer#!topic/google-appengine/swjJgsDhX9o 



But the "Cloud Platform Support" guidance sent me into days of trying 
various GWT tutorials and demos all of which are broken. My final 
attempt was the GWT Project's "Build a GWT app" whose sample project 
executed but rendered a client webpage with no UI widgets.

"Deploy to GAE / Set up a project (without Eclipse)":
http://www.gwtproject.org/doc/latest/tutorial/appengine.html 



"Alternatively, If you would like to skip the Build a Sample GWT 
Application tutorial, then download and unzip this file."
http://code.google.com/p/google-web-toolkit/downloads/detail?name=Tutorial-GettingStarted-2.1.zip 



BTW like all of the GWT instructional projects documentation I tried, 
that one's link is broken as its target project has been archived. But 
the file is still available from:
https://code.google.com/archive/p/google-web-toolkit/downloads?page=3 

https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/google-web-toolkit/Tutorial-GettingStartedAppEngine-2.1.zip 



I edited the tutorial project's various config files according to the 
tutorial's instructions, and fixed some defects not mentioned in the 
instructions (like increasing the javac heap size to 512M, and adding 
true to appengine-web.xml , and removing old 
lib/ JARs that have substitute JARs downloaded by Ant, etc). Only to 
find the project launches in a browser in ant devmode but the browser 
app fails to include any actual UI widgets.


--
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.


Re: Internal GWT 2.8.0 compiler exception

2016-11-16 Thread Michael Joyner (NewsRx)

Have you tried increasing the allocated ram?


On 11/16/2016 12:41 PM, jgindin wrote:
I'm trying to update my project from GWT 2.7.0 to 2.8.0. However, I'm 
getting the following error during the GWT compilation.


We're using dagger and guava 20. I've validated that:

  * dagger-compiler is *NOT* in the classpath when compiling. (We're
using gradle and the "net.ltgt.apt" gradle plugin to use the "apt"
configuration (which is where the dagger-compiler dependency is
listed).
  * there are no gwt 2.7 artifacts in my classpath


|
Starting process 'command '/opt/devtools/java/jdk1.8.0_102/bin/java''. 
Working directory: /home/myusername/src/mycompany/myproduct/ui/studio 
Command: /opt/devtools/java/jdk1.8.0_102/bin/java -Xmx2g 
-Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en 
-Duser.variant -cp 

Re: HowTo use GWT EvenBus to schedule OpenEvent -> CloseEvent sequence

2016-10-26 Thread Michael Joyner

  
  
I don't know if it will help any, but we had issues with the
  eventbus firing immediately synchronously (not good if the event
  for a widget fires before said widget finishes attaching and
  hooking up to receive events!). We ended up creating a deferred
  eventbus. Seems like you should be able to extend it and get what
  you want. We create our eventbus as "new DeferredEventBus(new
  SimpleEventBus())".

import com.google.gwt.core.client.Scheduler;
import com.google.web.bindery.event.shared.Event;
import com.google.web.bindery.event.shared.Event.Type;
import com.google.web.bindery.event.shared.EventBus;
import com.google.web.bindery.event.shared.HandlerRegistration;

public class DeferredEventBus extends EventBus {
    private final EventBus wrapped;

    public DeferredEventBus(EventBus wrappedBus) {
        this.wrapped = wrappedBus;
      }
    
    @Override
    public  HandlerRegistration
addHandler(Type type, H handler) {
        return wrapped.addHandler(type, handler);
    }

    @Override
    public  HandlerRegistration
addHandlerToSource(Type type, Object source, H handler)
{
        return wrapped.addHandlerToSource(type, source,
handler);
    }

    @Override
    public void fireEvent(Event event) {
        Scheduler.get().scheduleDeferred(()
->wrapped.fireEvent(event));
    }

    @Override
    public void fireEventFromSource(Event event, Object
source) {
        Scheduler.get().scheduleDeferred(()
->wrapped.fireEventFromSource(event, source));
    }
}
  




On 10/26/2016 12:51 PM, vitrums wrote:


  [ Original post on
StackOverflow http://stackoverflow.com/questions/40130383/howto-use-gwt-evenbus-to-schedule-openevent-closeevent-sequence
]



  
Say we have few
  handlers for both events. The goal is to make sure, that
  all OpenEvent handlersfinish before any of CloseEvent
handlers start their job. The old EventBus had
  a reverse order flag, which sometimes helped greatly in
  these particular cases. I.e. a handler, responsible for
  launching some process which leads to CloseEvent being
  fired (i.e. event emitter), usually registers itself to a
  bus first.
Now, due to a
  synchronous nature of _javascript_ each handler of OpenEvent ends
  his job before the next handler starts. In my app the
  first OpenHandler added to a bus is a CloseEvent emitter.
  Therefore I get an undesirable sequence of calls: 1st
handler of OpenEvent -> all
CloseEvent handlers -> the rest of
OpenEvent handlers.
My
  question is: what's the best practice to
  establish the desirable behavior? So far as a workaround I
  use Scheduler.scheduleDeferred(Scheduler.ScheduledCommand
cmd) to enqueueEventBus.fireEventFromSource(Event
event, Object source) of CloseEvent call
  to the next browser's event loop tick.
p.s. My current
  thoughts are as follows. I don't want to rely of Timer or Scheduler (though
  it might be the only option, which I'm not sure about).
  Also I have no interest in introducing any flag variables,
  responsible for tracking which event occurred first.
  Instead, if one looks closer into theSimpleEventBus code,
  there's a firingDepth counter variable,
  which only works to delayaddHandler(...) and removeHandler(...) calls.
  It would be great, if same logic could be applied to order
  call sequences of handlers for different events.
  

  
  -- 
  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 

Re: GWT cache.html files.

2016-10-24 Thread Michael Joyner

  
  
The SSO linker doesn't work with Superdev Mode. You could try the
  following instead for modern browser only targeting:



 

On 10/21/2016 04:40 AM, Kirill
  Prazdnikov wrote:


  You can also use SSO linker which produce one
single script file for all application. 
And (form my perspective) you do not need permutations for
  all modern browsers (except you want to run on IE8):


Try this (in .gwt.xml):



  
  

  


  
  -- 
  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.


Re: Google Plugin for Eclipse Mars

2016-10-18 Thread Michael Joyner

  
  
Better yet, just install it via the Eclipse Marketplace after
  removing the old one. Look for "GWT' in the Eclipse Marketplace
  and select "GWT Eclipse Plugin 3.0.0".


On 10/18/2016 10:31 AM, Michael Joyner
  wrote:


  
  That plugin is deprecated.
  You can try uninstalling it, remove or disable its url from
your software software sources, then try this one and see if it
works better: https://github.com/gwt-plugins/gwt-eclipse-plugin
  The software installation url is: http://storage.googleapis.com/gwt-eclipse-plugin/v3/release
  
  
  On 10/17/2016 06:59 PM, Jim Douglas
wrote:
  
  
This was working a week or two ago; now it's
  reporting:
  
  
  
Unable to read repository at https://dl.google.com/eclipse/plugin/4.5.
Unable to read
  repository at https://dl.google.com/eclipse/plugin/4.5.
No repository found
  at https://dl.google.com/eclipse/plugin/core/4.5.
  
  


https://developers.google.com/eclipse/docs/install-eclipse-4.5

  

-- 
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.


Re: Google Plugin for Eclipse Mars

2016-10-18 Thread Michael Joyner

  
  
That plugin is deprecated.
You can try uninstalling it, remove or disable its url from your
  software software sources, then try this one and see if it works
  better: https://github.com/gwt-plugins/gwt-eclipse-plugin
The software installation url is:
  http://storage.googleapis.com/gwt-eclipse-plugin/v3/release


On 10/17/2016 06:59 PM, Jim Douglas
  wrote:


  This was working a week or two ago; now it's
reporting:



  Unable to read repository at
https://dl.google.com/eclipse/plugin/4.5.
  Unable to read
repository at https://dl.google.com/eclipse/plugin/4.5.
  No repository found at
https://dl.google.com/eclipse/plugin/core/4.5.


  
  
  https://developers.google.com/eclipse/docs/install-eclipse-4.5
  

  
  -- 
  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.


GWT 2.8.0 RC3 is here!

2016-09-30 Thread Michael Joyner

  
  



  
   Forwarded Message 
  

  
Subject:

[gwt-contrib] GWT 2.8.0 RC3 is here!
  
  
Date: 
Thu, 29 Sep 2016 07:54:46 -0700 (PDT)
  
  
From: 
'Daniel Kurka' via GWT Contributors
  
  
  
Reply-To:

google-web-toolkit-contribut...@googlegroups.com
  
  
To: 
GWT Contributors
  
  

  
  
  
  
Hi all,
  
  
  I just build the GWT 2.8.0 RC3 and
pushed it to maven central. The complete SDK is also
available from here.
  
  
  Please start testing and let us know
if you run into any trouble and file
  bugs.
  
  
  We are planing to release this as
GWT 2.8.0 if we do not here about any serious issues within
the next two weeks. The release
  notes for RC3 will be made available shortly after
this notice.
  
  
  Daniel,

on behalf of the GWT team
  
  -- 
  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/0314b8df-8e83-4721-b424-7adcdf13ca8a%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 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: CalenderUtil Date Math BUG - GWT 2.8 RC2

2016-09-01 Thread Michael Joyner

  
  
As we are not calling a "set" operation but an "addMonthsToDate"
  operation and as a result we find this behavior surprising - and a
  little non-intuitive.
Calendar does not "skip" a month when using "add" month, the days
  are adjusted to the end of the next month to prevent month
  "skipping".
It does behave as described with a month "skip" if using "set"
  month instead.
See also: http://stackoverflow.com/a/14618664/1341731


On 09/01/2016 09:20 AM, Paul Robinson
  wrote:


  
git tells me CalendarUtil.java is the same in 2.7 and
  2.8RC2. So yes, the code should behave the same.


But the above behaviour is not wrong because it's standard Java
behaviour.


Whether you use Date.setMonth(n) or
  Calendar.set(Calendar.MONTH, n) Java behaves the same way.
  That is, if you start on August 31, and set the month to
  September, then you find you are on October 1.


  
  
On Thu, Sep 1, 2016 at 10:01 AM, Daniel
  Kurka 
  wrote:
  
Does this code do the same thing in 2.7?


  

  On Wed, Aug 31, 2016 at 11:41 PM Paul
Robinson 
wrote:
  

  
  

  
You don't say what part of this you
  think is a bug. I presume it's the fact that Aug
  31 plus one month is Oct 1. If so, this is not a
  bug.
Adding one month should do literally
  that, so you get September 31. But there are only
  30 days in September, so this automatically
  becomes October 1.
Paul

  

  

  

  


  




-- 
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.


CalenderUtil Date Math BUG - GWT 2.8 RC2

2016-08-31 Thread Michael Joyner

  
  
We have run into what looks like a date math bug for today's
  date:
Here is our logged output:

[butter] Wed Aug 31 16:15:15 GMT-400 2016
Tester Date: Wed Aug 31 16:15:15 GMT-400 2016

  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 mth: 8
  


  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 mth: 7
  


  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 q: 7
  


  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 qMth: 7
  


  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 qMth - mth: 1
  


  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 Date (now): Wed Aug 31 16:15:15
GMT-400 2016
  


  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 Date (addMonthsToDate): Sat Oct 01
16:15:15 GMT-400 2016, 1
  


  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 Date:(setToFirstDayOfMonth) Sat Oct 01
00:00:00 GMT-400 2016
  


  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 Date(addMonthsToDate+1): Tue Nov 01
00:00:00 GMT-400 2016
  


  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 Date(addDaysToDate-1): Mon Oct 31
00:00:00 GMT-400 2016
  


  
[butter] Wed Aug 31
16:15:15 GMT-400 2016 Tester setDateToLastOfQtr: Mon Oct 31
00:00:00 GMT-400 2016
  

[butter] Wed Aug 31 16:15:15 GMT-400 2016 - on
butter module load - 2.8.0-rc2

Here is the code:

    public static void setDateToLastOfQtr(Date date) {
          // Magic Mike's Fist Qtr Fix --> ask him
          int mth =
  Integer.valueOf(DateTimeFormat.getFormat("M").format(date));
          Api.log("mth: "+mth);
          mth--;
          Api.log("mth: "+mth);
          
          int q = mth / 3;
          Api.log("q: "+mth);
          
          int qMth = (q * 3) + 2;
          Api.log("qMth: "+mth);
  
          Api.log("qMth - mth: "+(qMth-mth));
          Api.log("Date (now): "+date);
          CalendarUtil.addMonthsToDate(date, qMth - mth);
          Api.log("Date (addMonthsToDate): "+date+",
  "+(qMth-mth));
          CalendarUtil.setToFirstDayOfMonth(date);
          Api.log("Date:(setToFirstDayOfMonth) "+date);
          CalendarUtil.addMonthsToDate(date, 1);
          Api.log("Date(addMonthsToDate+1): "+date);
          CalendarUtil.addDaysToDate(date, -1);
          Api.log("Date(addDaysToDate-1): "+date);
      }
  
  




-- 
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: [gwt-contrib] Re: GWT 2.8 RC1 Help with testing

2016-07-21 Thread Michael Joyner

  
  
Can it be tagged and pulled via jitpack.io ?


On 07/20/2016 05:57 PM, 'Daniel Kurka'
  via GWT Contributors wrote:


  We just fixed a bug in rc1, I'll redo the release
now and give you guys a download link.
  
  
On Wed, Jul 20, 2016 at 10:18 AM Manuel Carrasco
  Moñino 
  wrote:


  I don't see 2.8.0-rc1 anywhere,  what is the
branch/tag/commit cut I have to use ? 
  

  


  




-- 
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/14b629fa-5a0c-3d34-afc5-410ae30c1c59%40newsrx.com.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] GWT 2.8 RC1 Help with testing

2016-07-20 Thread Michael Joyner

  
  
(I'm cross posting this here from
  google-web-toolkit-contribut...@googlegroups.com as being highly
  relevant)
  
  Hi all,
  
  
  we have build the preliminary GWT 2.8.0-rc1 version and now
need help with DOA testing (making sure its not dead on
arrival).
  
  
  We are currently missing testers for:
  
  
  
Linux / Chrome
Windows 7 / IE8/IE9
Windows 7 / IE 10
Windows 7 / IE 11
  
  
  
  If you are interested in spending ~1h in testing the new GWT
release, please reach out to me.
  
  
  -Daniel
  
  Discussion link:  https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujipOWx590QLZs0OKED12%2BW5jKmNsnY1zQw0XshxyY5yM6w%40mail.gmail.com.


  




-- 
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.


Eclipse Neon - Can't load plugin

2016-07-14 Thread Michael Joyner

  
  
Heads up!

The latest GWT plugin from github does not work with NEON.

There is a pending pull request from Jun 8 2016 which has a fix, but
it has not been rebuilt with the patch yet.

"axls" has posted a link to a an alternative build with the patch
applied:



axls 
commented 20 days ago
  
  

  Experimental build with this fix can be installed from https://dl.bintray.com/axls/gwt-eclipse-plugin.
GWT part works for me, but I'm not sure about AppEngine
(never used this one).

  


-Mike
  




-- 
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.


GWT 2.8 last call & help with testing

2016-07-13 Thread Michael Joyner

  
  
FROM: 'Daniel Kurka'
  google-web-toolkit-contribut...@googlegroups.com
  
  Hi all,
  
  
  the last patch that is needed for 2.8 (https://gwt-review.googlesource.com/15193)
is about to land.
  
  
  I will cut the release candidate on Friday morning (MTV
time). This means that we need one clean build before hand in
Jenkins. So we will be blocking master from any more patches
starting tomorrow morning MTV time.
  Anything that is not relevant
  to the GWT 2.8 release will have to wait until 2.8.0 final (or
  even slightly longer if we anticipate a 2.8.1).
  
  
  
  We also need someone to coordinate testing on the open source
side as well as tester to do the actual testing.
  Let me know if you want to take over coordination or testing
and I will help you get started.
  
  
  -Daniel
  
  
  


  




-- 
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: Failed to load resource: xxx.cache.js

2016-07-05 Thread Michael Joyner
There is a bug in GWT 2.7 for the no cache file having the wrong timestamp
and being cached when it shouldn't as a result.


We haven't seen this bug when using GWT 2.8-beta1.

On Tue, Jul 5, 2016 at 11:58 AM, Jens  wrote:

> Most likely a caching problem in your browser (your
> .nocache.js file is probably cached by the browser and asks for
> an old permutation). *.cache.* and *.nocache.* must have correct HTTP
> caching headers.
>
>
> http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching
>
> -- 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+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: What is happening to GWT??? - quarterly or semi-annual releases would be nice!

2016-07-05 Thread Michael Joyner
We vote for quarterly or twice year releases. It doesn't matter if they 
are feature complete, only that progress is being made and all these 
other projects like GwtMaterial use them. Nothing like being told when 
asking about an issue that (to paraphrase) "You are using gwt 2.8, only 
gwt 2.7 is officially supported, it's the last official release" without 
any comment made about the issue or suggestions or questions or anything 
else.


On 07/02/2016 10:22 AM, Jens wrote:


@Thomas: And thats exactly why I think GWT will have a better life if 
we would do fixed, automated monthly / quarterly releases directly 
from master after they have run through Google testing to ensure a 
high degree of stableness. People don't like using SNAPSHOTs so just 
lets just "rename" some SNAPSHOTs as releases on a regular basis.





--
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.


gwt material and uibinder + gradle

2016-07-05 Thread Michael Joyner

two dimes:

We find Gradle much easier to work with than Maven here at my shop. 
Especially for "loosely coupled" project dependency setup. We never 
could get Maven to simply reference other projects arbitrarily. We find 
Maven is too strict in specifying how projects are connected up with 
each other.


Plus we use Gretty to automatically run our projects server and client 
code from multiple projects together as a single localhost tomcat server.


On 07/04/2016 03:32 AM, Thomas Broyer wrote:




A little off-topic but, before going Maven (unless you know it 
already) explore Gradle too (and, why not, Ant+Ivy, Buildr, SBT, or 
even Pants or Bazel); then make an informed choice. Just sayin'




--
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: com.google.gwt.http.client.URL

2016-05-18 Thread Michael Joyner

  
  
I think you should be % encoding the url data-path components. Any
routine that converts spaces to + or leaves '*' and most other
punctuation unescaped is not what you want.

See http://stackoverflow.com/a/6530792/1341731
for a "drop-in" routine to do this.

I would remove the "Locale.US" parameter for GWT and just use
"toUpperCase()".

On 05/18/2016 10:08 AM, P.G.Taboada
  wrote:


  
Hi Thomas, 


I do not want to complain - I am stating an issue I am
  having - and I find the naming misleading. 


I have to build an URL for a http request - key-value pairs
  in the query string. 


As far as I understood, application/x-www-form-urlencoded
  does not apply to "simple GET queries" - am I wrong?


brgds,


Papick



Am Mittwoch, 18. Mai 2016 15:50:57 UTC+2 schrieb Thomas Broyer:

  I'm sorry I don't get what you're actually
complaining about.
http://www.gwtproject.org/javadoc/latest/com/google/gwt/http/client/URL.html
  Only the deprecated methods have that note in their
javadoc, and the behavior was historically meant for
query-string processing (for the majority of cases where
the query-string uses key-value pairs with an encoding
similar to application/x-www-form-urlencoded, as
with HTML forms with method="GET"), non-deprecated
methods are clear about their intent and expected usage:
encodeQueryString vs. encodePathSegment.
  See also https://github.com/gwtproject/gwt/issues/3379

On Wednesday, May 18, 2016 at 2:30:24 PM UTC+2,
P.G.Taboada wrote:

  

  Hi,
  
  
  
  
  we are running into issues with URLs that get
spaces encoded to "+". 
  
  
  
  
  In the javadocs I read:
  
  
  
  


  
Note: this method
  will convert any the space character into 
  


  
its escape short
  form, '+' rather than %20. 
  


  
It should
  therefore only be used for query-string
  parts.
  





This is wrong: the "+" means a space only in
  application/x-www-form-urlencoded content.


The method that allows us to use the correct
  behaviour





  
public static String encodeComponent( String decodedURLComponent,  boolean queryStringSpaces)
  





is deprecated.


The make it a "+" behaviour is the default one
  in the UrlEncoder in Java. This class is either
  wrongly named or does the wrong thing.  I would
  guess it is wrongly named, as the javadocs state
  that this class is for form encoding.




  

  

  

  
  -- 
  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 

Re: GWT React preview release on Maven Central

2016-05-13 Thread Michael Joyner
 GWT Gradle plugin:

This works for us for 2.8BETA

gwt {
logLevel = 'INFO'

maxHeapSize = "1024M";

gwtVersion='2.8.0-beta1'

modules 'com.newsrx.ButterAdmin'

//jsInteropMode = "JS"

compiler {
disableClassMetadata = false;
enableClosureCompiler = false;
strict = true;
style = "OBF";
localWorkers = 1;
}

superDev {
noPrecompile = false;
failOnError = false;
bindAddress = "0.0.0.0";
}

eclipse {
addGwtContainer = false;
}
}

We use this in combination with gretty for running under tomcat:

war {
archiveName 'ContextName.war'
}

gretty {
port = 8080;
servletContainer = 'tomcat7'
managedClassReload = false
extraResourceBase 'build/gwt/out'
}

and dependencies:

dependencies {
providedCompile 'com.google.gwt:gwt-servlet:'+gwt.gwtVersion // we
don't use gwt RPC, so providedCompile prevents unwanted gwt jar in war
gwt 'com.google.gwt:gwt-user:'+gwt.gwtVersion
}



On 05/13/2016 10:40 AM, Paul Stockley wrote:

I have pushed preview versions of gwt-react, gwt-react-router and gwt-redux
to Maven Central. Check out the documentation for details.
https://github.com/GWTReact
Soon I hope to have a Gradle build file to make it easy to try out the
examples. I am just working around some issues with the Gradle gwt plugin
and GWT 2.8
My next priority is to finish the MobX integration and then work on
stabilizing the interface towards a 1.0 release. Our company will start
using gwt-react and gwt-mobx in a production application within the next 4
months. I am sure this will flush out any issues relatively quickly.
-- 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.


Re: gwt-2.8.0-beta1 / isn't it about time for a beta2?

2016-04-25 Thread Michael Joyner

  
  
So, it is pending Guava?
  Is the Guava referenced being used as a part of the build system?

GWT Steering
Committee Meeting (4/13/2016)
  
  Java8
  
Good progress in adding support.
  
Need more tests for Java8:
Soliciting contributions from community. 
  
  GWT 2.8
  
Main criteria: Get new Guava
working with GWT 2.8 before releasing 2.8.
  
  Github issues
  
Being used regularly
Thomas is driving a plan to
handle this better. Will wait for this to be finalized.
  
  Refresh of beta
  
Check how much work is left to be
done to get guava building before deciding on this.
If 2.8 RC1 doesn’t look imminent,
put out a new beta.
  


On 04/25/2016 12:34 PM, Thomas Broyer
  wrote:


  

On Monday, April 25, 2016 at 4:18:04 PM UTC+2, Michael Joyner
wrote:
gwt-2.8.0-beta1
  / isn't it about time for a beta2?
  



See
  https://groups.google.com/d/msg/gwt-steering/11oqMx-Bn0A/sGcwVreaAwAJ 
  
  -- 
  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.


gwt-2.8.0-beta1 / isn't it about time for a beta2?

2016-04-25 Thread Michael Joyner

gwt-2.8.0-beta1 / isn't it about time for a beta2?

--
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: Is anybody of you guys using GWT with Lombok?

2016-03-19 Thread Michael Joyner
Y'alls discussion of this made me do some Googling and I found "JackDaw" 
which lets one do the automagic setter/getter thing strictly via 
"approved" annotation processing:


https://github.com/vbauer/jackdaw



On 03/16/2016 11:27 PM, BRF wrote:

I use it in some utility projects.  The only problem I have ever had with it is 
when using jsni in a class with lomboked code.  GWT compiler chokes on some 
generated variable names, but splitting the jsni into a separate class resolved 
that.  As far as jdk breakages they haven't been much of a hinderance here, but 
we upgrade slowly due to gwt anyways.  Java 9 appears it will better support 
building against old jdks so I think those issues will be fewer going forward 
possibly, but only time will tell.



--
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: GWT 2.8 with App Engine on Java 7

2016-03-09 Thread Michael Joyner
Is there any reason you can't split the project up into two projects? A 
java8 => js frontend, and the java7 backend?


On 03/09/2016 02:57 PM, Paul Mazzuca wrote:
Using the maven gwt and appengine plugins, is it possible to compile 
GWT 2.8 in Java 8, and then app engine related files using Java 7?  I 
realize the managed VMs support Java 8, but it would be nice to stick 
with the app engine environment which currently only support Java 7?


I am wondering if there exists some maven configuration that would 
first compile all the GWT files in Java 8, thereby converting them to 
javascript, and then use java 7 for all the server files.

--
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.


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.


Re: GWT Polymer Tutorial

2015-12-16 Thread Michael Joyner

Could be a section issue. I use Gradle here.

On 12/16/2015 03:08 PM, Ed wrote:

Michael:

Thank you for you quick response. I have done this with no success. 
Perhaps I put it in the wrong section.


The docs are specific and I am a newbie to maven.

Ed

On Wed, Dec 16, 2015 at 2:41 PM, Michael Joyner <mich...@newsrx.com 
<mailto:mich...@newsrx.com>> wrote:


For the Polymer tutorial to work with 2.7, you must be sure to
enable jsinterop mode 'JS'.

I haven't tried it with 2.8.0-BETA.


On 12/16/2015 02:23 PM, Ed wrote:

I have been trying for days to get this operational.

Does this even have a chance of working with 2.7?

I have seen some data about using parts of 2.8 and 2.7 to make
things work.  I do not feel this is a viable solution.

Any suggestions would be appreciated.

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
<mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
To post to this group, send email to
google-web-toolkit@googlegroups.com
<mailto: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
<mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
To post to this group, send email to
google-web-toolkit@googlegroups.com
<mailto: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 
<mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
To post to this group, send email to 
google-web-toolkit@googlegroups.com 
<mailto: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: GWT Polymer Tutorial

2015-12-16 Thread Michael Joyner
For the Polymer tutorial to work with 2.7, you must be sure to enable 
jsinterop mode 'JS'.


I haven't tried it with 2.8.0-BETA.

On 12/16/2015 02:23 PM, Ed wrote:

I have been trying for days to get this operational.

Does this even have a chance of working with 2.7?

I have seen some data about using parts of 2.8 and 2.7 to make things 
work.  I do not feel this is a viable solution.


Any suggestions would be appreciated.

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.


Re: gwt 2.8 and gwtbootstrap3 0.9.2

2015-12-09 Thread Michael Joyner

whose issue tracker?

gwtbootstrap3's or gwt's?

On 12/08/2015 05:25 PM, Thomas Broyer wrote:

Can you raise it in the issue tracker?



--
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: gwt 2.8 and gwtbootstrap3 0.9.2

2015-12-09 Thread Michael Joyner

Is the snapshot available via maven?

On 12/09/2015 07:46 AM, Frank wrote:
I am using the snapshots version of gwt-bootstrap3 and had no issue 
upgrading to GWT2.8.0beta1 yesterday (this is the one I am using to be 
absolutely clear:  https://github.com/gwtbootstrap3/gwtbootstrap3).


According to me the snapshot version is more stable than the 0.9.3 
release as this contains quite a few bugs solved in snapshot.




Op dinsdag 8 december 2015 18:50:45 UTC+1 schreef Michael Joyner:


Hello,

We are suddenly having an issue where the following function in
"org/gwtbootstrap3/extras/slider/client/ui/Slider.java" from the
gwtboostrap3 project is failing with "doubleValue 'not a function'".
We have tried passing the value in as (double)value,
Double.valueOf(value), new Double(value), but they all are ending
with
the same error.

Is there some flag or some such we need to now set that wasn't not
required before?

@Override
 protected native void setValue(Element e, Double value) /*-{
 var doubleValue = val...@java.lang.Double::doubleValue()();
   
 $wnd.jQuery(e).slider(@org.gwtbootstrap3.extras.slider.client.ui.base.SliderCommand::SET_VALUE,

doubleValue);
 }-*/;

-Mike/NewsRx

--
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 
<mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
To post to this group, send email to 
google-web-toolkit@googlegroups.com 
<mailto:google-web-toolkit@googlegroups.com>.

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


Re: gwt 2.8 and gwtbootstrap3 0.9.2

2015-12-09 Thread Michael Joyner



On 12/09/2015 11:41 AM, Thomas Broyer wrote:

If it used to work previously, then gwt's issue tracker.


For those curious: https://github.com/gwtproject/gwt/issues/9242


--
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


gwt 2.8 and gwtbootstrap3 0.9.2

2015-12-08 Thread Michael Joyner


Hello,

We are suddenly having an issue where the following function in 
"org/gwtbootstrap3/extras/slider/client/ui/Slider.java" from the 
gwtboostrap3 project is failing with "doubleValue 'not a function'".
We have tried passing the value in as (double)value, 
Double.valueOf(value), new Double(value), but they all are ending with 
the same error.


Is there some flag or some such we need to now set that wasn't not 
required before?


@Override
protected native void setValue(Element e, Double value) /*-{
var doubleValue = val...@java.lang.Double::doubleValue()();

$wnd.jQuery(e).slider(@org.gwtbootstrap3.extras.slider.client.ui.base.SliderCommand::SET_VALUE,
 doubleValue);
}-*/;

-Mike/NewsRx

--
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: gwt 2.8 and gwtbootstrap3 0.9.2

2015-12-08 Thread Michael Joyner

  
  

  Is there a workaround? This is a pre-packaged JAR.
  
  -Mike
  
  On 12/08/2015 01:57 PM, Jens wrote:


  Boolean and Double are now unboxed raw types when
compiled to JS. I think that means inside JSNI methods a Double
should be treated as double primitive. 


So something like
  
  
  protected native void setValue(Element e, Double value)
/*-{ 
    $wnd.jQuery(e).slider(@org.gwtbootstrap3.extras.slider.client.ui.base.SliderCommand::SET_VALUE,
value); 
}-*/; 
  
  
  
  should work now.
  
  
  -- 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+unsubscr...@googlegroups.com.
  To post to this group, send email to google-web-toolkit@googlegroups.com.
  Visit this group at http://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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Teavm

2015-12-04 Thread Michael Joyner

  
  
Wonderting if it is possible to convert
  a jar to js, then use it from GWT...
  
  
  On 12/04/2015 07:51 AM, Emilio Bravo wrote:


  Source maps from byte code?

  
  El martes, 1 de diciembre de 2015, 16:43:44 (UTC+1), Satguru
  Srivastava escribió:
  
So, I recently came across TeaVM (http://teavm.org/)
  Similar to GWT but unlike GWT, which compiles Java
Source Code to _javascript_, TeaVM compiles Java Byte Code
to _javascript_.
  It is an interesting approach.
  The big advantage to this approach is that you do not
have to create and maintain your own compiler.
  You ride on the back of the JavaC compiler and can
take advantage of the optimizations, latest changes and
updates made to the compiler.
  So while GWT is working on supporting Java 8 , TeaVM
already provides support for that.
  
  
  What do you guys think?
  What are the pros/cons of this approach ?
  
  
  
  
  
  
  
  
  
  
  

  

  
  -- 
  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 http://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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.0 RC1

2015-12-03 Thread Michael Joyner

  
  
Would someone please post an RC that
  won't break overnight BEFORE y'all start posting possible breaking
  changes?
  
  
  On 12/03/2015 10:11 AM, Thomas Broyer wrote:


  FYI, we've merged back the change that splitted
jsinterop annotations out of gwt-user; it just failed to deploy
for some reason (failed early this time, so something has been
deployed at all) but we might possibly have broken the snapshots
again (despite tests on two independent developer machines).
Watch out for the next snapshot update and keep us informed if
anything's broken.

On Thursday, December 3, 2015 at 3:00:43 PM UTC+1, Evan Ruff
wrote:

  I've been using the 2.8.0-SNAPSHOT artifact
from the https://oss.sonatype.org/content/repositories/google-snapshots/
repo for a few weeks now. We had a minor hiccup the other
day but now everything is back to running smoothly. Watch
out for Guava incompatibility.


E
  
On Thursday, December 3, 2015 at 4:39:32 AM UTC-5,
Norbert Sándor wrote:

  A month has passed... any news?

On Thursday, 5 November 2015 19:49:05 UTC+1, steve
Zara wrote:

  As 2.8.0 RC1 is out this week,
would it be possible to say where this will be
linked to on the GWT site?  I'm not a maven
user, so a link to the zip would be helpful.  

  

  

  

  
  -- 
  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 http://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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.0 RC1

2015-12-03 Thread Michael Joyner

  
  
MUCH thanks!
  
  On 12/03/2015 12:06 PM, Thomas Broyer wrote:


  AFAICT, it's
coming: http://www.gwtproject.org/release-notes.html

On Thursday, December 3, 2015 at 5:15:19 PM UTC+1, Michael
Joyner wrote:

  
Would someone please post an RC that won't break
  overnight BEFORE y'all start posting possible breaking
  changes?
  

  

  


  




-- 
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop Maven fail

2015-11-23 Thread Michael Joyner

On 11/21/2015 08:55 AM, Thomas Broyer wrote:

We're having an error deploying the new com.google.jsinterop artifacts: 
http://build.gwtproject.org/job/gwt/306

Try pinning the previous snapshot (using its time-stamped version) or build GWT 
locally and deploy it with the maven/push-gwt.sh script.

Unable to pin a time-stamped version. Every POM refers to '-SNAPSHOT' 
for any dependencies all pull in the 1123 POM's as a result.


--
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop Maven fail

2015-11-23 Thread Michael Joyner

  
  

  I can't get this mess to work with Gradle.
  
  No matter what versions I put in I get messages about jsinterop
  not being found.
  
  Could someone "fix" the maven snaptop repo to point the
  "-SNAPSHOT" back to the known working 19th version? 
  
  Or perhaps put in a "RC1" POM that references the last known
  working copy of 19th?
  
  -Mike
  
  
  On 11/23/2015 09:42 AM, Thomas Broyer wrote:


  

On Monday, November 23, 2015 at 2:19:51 PM UTC+1, Bruno Salmon
wrote:

  I tried with versions 2.8.0-20151119.055507-99
and 2.8.0-20151118.055323-98 but got the same problem about
JSInterop.



It can't be the same problem, as in those versions the
  jsinterop annotations hadn't been split out into their own
  JAR.
 

  
Earlier versions have no pom file (only pom.asc file)
  so maven can't load them.



So I tried the other way you suggested and successfully
  built GWT locally. I finally got jsInterop 1.0.0-SNAPSHOT
  installed locally using maven/push-gwt.sh (curiously the
  gwt version was also 1.0.0-SNAPSHOT in the local maven
  repository instead of 2.8.0-SNAPHOT).
  



Yes, there's a small bug in the script unfortunately (and
  then another problem);
  apply https://gwt-review.googlesource.com/14010 locally
  (you'll find Git commands copy-paste-ready in the "download"
  drop down menu on the right)
 

  
However maven was then able to download the gwt-user
  2.8.0-SNAPSHOT dependency without complaining this time
  about JSInterop (thanks to the local install). But finally
  the gwt maven plugin ended with an error:



  [INFO] --- gwt-maven-plugin:2.8.0-SNAPSHOT:compile
(default) @ naga-gwt ---
  Downloading: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/maven-metadata.xml
  Downloading: http://nexus.codehaus.org/snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/maven-metadata.xml
  Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/maven-metadata.xml
  Downloaded: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/maven-metadata.xml
(359 B at 0.2 KB/sec)
  [WARNING] Could not transfer metadata
com.google.gwt:gwt-dev:2.8.0-SNAPSHOT/maven-metadata.xml
from/to codehaus-snapshots (http://nexus.codehaus.org/snapshots/):
nexus.codehaus.org
  Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.8.0-20151123.054735-102.pom
  Downloading: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.8.0-20151123.054735-102.pom
  Downloaded: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.8.0-20151123.054735-102.pom
(2 KB at 1.9 KB/sec)
  Downloading: http://nexus.codehaus.org/snapshots/com/google/gwt/gwt-user/2.8.0-SNAPSHOT/maven-metadata.xml
  Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/google/gwt/gwt-user/2.8.0-SNAPSHOT/maven-metadata.xml
  [WARNING] Could not transfer metadata
com.google.gwt:gwt-user:2.8.0-SNAPSHOT/maven-metadata.xml
from/to codehaus-snapshots (http://nexus.codehaus.org/snapshots/):
nexus.codehaus.org
  Downloading: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.8.0-20151123.054735-102.jar
  Downloaded: https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-dev/2.8.0-SNAPSHOT/gwt-dev-2.8.0-20151123.054735-102.jar
(40815 KB at 1344.7 KB/sec)
  Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/maven-metadata.xml
  Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-SNAPSHOT.pom
  [INFO] 
  [INFO] BUILD FAILURE
  [INFO] 
  [INFO] Total time: 37.506s
  [INFO] Finished at: 

Re: JsInterop Maven fail

2015-11-23 Thread Michael Joyner

  
  

  I can't seem to set GWT version to a different version other than
  snapshot because each module has a different version number based
  on seconds.
  
  I don't think this would be such an issue if the POM version
  numbers were truncated to DAY so that all POM version numbers
  MATCHED.
  
  I've tried setting all each components version# manually, but this
  is turning into a total fubar for me and my front-end guy.
  
  We can't get anything to compile this morning at all.
  
  -Mike
  
  
  
  On 11/23/2015 10:28 AM, EMan wrote:


  

  I can't get it to work
either.  I have changed gwt-user to various version, but it
still wants to get jsinterop snapshot.


Failed to read artifact descriptor for
  com.google.gwt:gwt-user:jar:2.8.0-20151118.055323-98:
  Could not find artifact com.google.jsinterop:jsinterop:pom:1.0.0-SNAPSHOT
  in google-snapshots (https://oss.sonatype.org/content/repositories/google-snapshots/)
  -
  



Not sure what combination I need to get this to work.  RC1
  is a great idea.  I don't love working out of snapshot. 
  
  -- 
  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 http://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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop Maven fail

2015-11-23 Thread Michael Joyner

  
  
This is a good example as to why
  tracking daily snapshots can be a bad idea.
  
  Why isn't there an RC1 ... POM ?
  
  
  On 11/21/2015 06:59 AM, Adolfo Panizo Touzon wrote:


  Hi all,


today when I tried to do a mvn clean install I notice some
  errors in my build related with JsInterop classes..


So, I created a project from scratch using the Maven
  Archetype:

  mvn archetype:generate \
   -DarchetypeGroupId=org.codehaus.mojo \
   -DarchetypeArtifactId=gwt-maven-plugin \
   -DarchetypeVersion=2.8.0-SNAPSHOT
  And I receive the next error (whole stack trace
attached): 
   


  
[ERROR]     Non-resolvable import POM: Failure to
find com.google.jsinterop:jsinterop:pom:1.0.0-SNAPSHOT
in https://oss.sonatype.org/content/repositories/google-snapshots
was cached in the local repository, resolution will not
be reattempted until the update interval of
snapshots-repo has elapsed or updates are forced @
com.google.gwt:gwt:2.8.0-SNAPSHOT,
/Users/foo/.m2/repository/com/google/gwt/gwt/2.8.0-SNAPSHOT/gwt-2.8.0-SNAPSHOT.pom,
line 57, column 25 -> [Help 2]
  


  
  
  After taking a quick look I realised that inside of the
gwt-user.jar the jsinterop folder has been removed in the
last snapshot (on the 19th of November it was still there).
  
  
  So, I think that is some kind of sonatype/maven error
updating libraries and should be fixed soon. If not, do you
know any workaround?
  
  
  Thanks for your time,
  
  
  Adolfo.

  
  -- 
  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 http://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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop Maven fail

2015-11-23 Thread Michael Joyner

  
  

  ok
  
  Why does top level POM for any particular date for main project
  GWT only point to "-snapshot" and not its matching dated versions?
  
  I think this is where my problem with not being able to select a
  non "-snapshot" version is coming from.
  
  -Mike
  
  On 11/23/2015 10:48 AM, Michael Joyner wrote:


  
  
I can't seem to set GWT version to a different version other
than snapshot because each module has a different version number
based on seconds.

I don't think this would be such an issue if the POM version
numbers were truncated to DAY so that all POM version numbers
MATCHED.

I've tried setting all each components version# manually, but
this is turning into a total fubar for me and my front-end guy.

We can't get anything to compile this morning at all.

-Mike



On 11/23/2015 10:28 AM, EMan wrote:
  
  

  
I can't get it to work
  either.  I have changed gwt-user to various version, but
  it still wants to get jsinterop snapshot.
  
  
  Failed to read artifact descriptor for
com.google.gwt:gwt-user:jar:2.8.0-20151118.055323-98:

Could not find artifact com.google.jsinterop:jsinterop:pom:1.0.0-SNAPSHOT

in google-snapshots (https://oss.sonatype.org/content/repositories/google-snapshots/)
-

  
  
  
  Not sure what combination I need to get this to work.
 RC1 is a great idea.  I don't love working out of
snapshot. 

-- 
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 http://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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop Maven fail

2015-11-23 Thread Michael Joyner

  
  
2.9
  
  On 11/23/2015 01:44 PM, Jens wrote:


  

  
 Anyone have a fix yet?
  



Which Gradle version do you use? Gradle didn't support
  pinning a specific SNAPSHOT build some time ago. Maybe you
  should upgrade Gradle.


https://issues.gradle.org/browse/GRADLE-2784


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


Re: JsInterop Maven fail

2015-11-23 Thread Michael Joyner

  
  
Yes
  
  On 11/23/2015 01:50 PM, Thomas Broyer wrote:


  

On Monday, November 23, 2015 at 5:57:58 PM UTC+1, Michael Joyner
wrote:

  
ok,
  
  this is not working out
  
  ALL the POM's point to '2.8.0-SNAPSHOT as dependencies.
  Result: I depend on a module, the module references latest
  snapshot, latest snapshot references missing jsinterop,
  compile failure because of dependency failure.
  
  As the POM's are currently written it does not appear
  possible to "point to a specific version'.

  



Have you tried something along those lines:


configurations.all*.resolutionStrategy {
  force 'com.google.gwt:gwt-user:…'
  force 'com.google.gwt:gwt-dev:…'
}


 

  
 Anyone have a fix yet?

  



We have a fix for our build (still in review though), but
  we're currently waiting for Daniel and/or Sonatype to allow us
  to publish the com.google.jsinterop artifacts.
I just proposed on Gerrit to rollback the change before the
  next nightly build to fix our snapshots.
 

  
 
  On 11/23/2015 10:48 AM, Michael Joyner wrote:


  
I can't seem to set GWT version to a different version
other than snapshot because each module has a different
version number based on seconds.

I don't think this would be such an issue if the POM
version numbers were truncated to DAY so that all POM
version numbers MATCHED.

I've tried setting all each components version#
manually, but this is turning into a total fubar for me
and my front-end guy.

We can't get anything to compile this morning at all.

-Mike



On 11/23/2015 10:28 AM, EMan wrote:
  
  

  
I can't get it
  to work either.  I have changed gwt-user to
  various version, but it still wants to get
  jsinterop snapshot.
  
  
  Failed to read artifact descriptor for
com.google.gwt:gwt-user:jar:2.8.0-20151118.055323-98:


Could not find artifact com.google.jsinterop:jsinterop:pom:1.0.0-SNAPSHOT


in google-snapshots (https://oss.sonatype.org/content/repositories/google-snapshots/)
-

  
  
  
  Not sure what combination I need to get this to
work.  RC1 is a great idea.  I don't love working
out of snapshot. 

-- 
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 http://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 http://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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop Maven fail

2015-11-23 Thread Michael Joyner

Ok, I got the following to work:

(linux/mac specific)

[presumes you have ant, maven, jdk, etc, installed]

cd ~/git
mkdir gwt
cd gwt
git clone tools https://github.com/gwtproject/tools.git
git clone https://github.com/gwtproject/gwt.git gwt
cd gwt
ant clean dist-dev -Dgwt.version=2.8.0-SNAPSHOT

[press enter for all defaults]

./maven/push-gwt.sh

[edit build.gradle]

repositories {
 jcenter()
maven {
url 
"https://oss.sonatype.org/content/repositories/google-snapshots/;

}
mavenLocal()
}

[notes]

It now pulls all from sonatype, except for jsinteropt which it pulls 
from local


--
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop Maven fail

2015-11-23 Thread Michael Joyner

  
  
ok,
  
  this is not working out
  
  ALL the POM's point to '2.8.0-SNAPSHOT as dependencies. Result: I
  depend on a module, the module references latest snapshot, latest
  snapshot references missing jsinterop, compile failure because of
  dependency failure.
  
  As the POM's are currently written it does not appear possible to
  "point to a specific version'.
  
  Anyone have a fix yet?
  
  On 11/23/2015 10:48 AM, Michael Joyner wrote:


  
  
I can't seem to set GWT version to a different version other
than snapshot because each module has a different version number
based on seconds.

I don't think this would be such an issue if the POM version
numbers were truncated to DAY so that all POM version numbers
MATCHED.

I've tried setting all each components version# manually, but
this is turning into a total fubar for me and my front-end guy.

We can't get anything to compile this morning at all.

-Mike



On 11/23/2015 10:28 AM, EMan wrote:
  
  

  
I can't get it to work
  either.  I have changed gwt-user to various version, but
  it still wants to get jsinterop snapshot.
  
  
  Failed to read artifact descriptor for
com.google.gwt:gwt-user:jar:2.8.0-20151118.055323-98:

Could not find artifact com.google.jsinterop:jsinterop:pom:1.0.0-SNAPSHOT

in google-snapshots (https://oss.sonatype.org/content/repositories/google-snapshots/)
-

  
  
  
  Not sure what combination I need to get this to work.
 RC1 is a great idea.  I don't love working out of
snapshot. 

-- 
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 http://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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT EvenBus acrosee multiple modules

2015-09-02 Thread Michael Joyner

  
  
You have to use a common single
  instance eventbus.
  
  On 09/02/2015 10:37 AM, Swarnalatha Badabagni wrote:


  




I have a framework module , which inherits mail module.


I am firing an event in mail module and registered handler
  for this on framework module. I can see that event is getting
  triggered . but the registered handler is not catching that
  event on framework module.


Please let me know how to share event/handlers between gwt
  modules. And how to handle my case motioned above.


Thanks
  
  -- 
  You received this message because you are subscribed to the Google
  Groups "Google Web Toolkit" 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 http://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 "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: What is planned release date for GWT 2.8 (with lambdas) ?

2015-08-17 Thread Michael Joyner

Yes,

A stable branch with set releases monthy? bimonthy? quarterly? 
would definitely go well here. We are stuck on 2.7 ...


-Mike

On 08/17/2015 09:54 AM, Jens wrote:
Some days ago in IRC and proposed that GWT should do regular releases 
from the CI server that do not have -SNAPSHOT in their names and 
have a slightly different version number, e.g. major for breaking 
changes.timestamp. These CI releases could probably also be done 
after Google had tested the build against all their internal apps.
That way a new release can be done every one or two month and the 
enterprise guys are happy because no -SNAPSHOT dependency is in 
their build file. Maybe that is an acceptable compromise between using 
SNAPSHOT builds vs. a released version. At least it would more closely 
match how Google works and Google is the main committer.




--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Upgradation to GWT 2.7 Shows blank page

2015-08-12 Thread Michael Joyner

you've tried superdev mode and watched the js console yet?

On 08/12/2015 12:57 AM, Mohammed Sameen wrote:
Recently i migrated my gwt application from |GWT 2.5| to |GWT 
2.7| .Moved most of the script js from *.gwt.xml to html hostpage and 
added |set-configuration-property name='xsiframe.failIfScriptTag' 
value='FALSE'/| tag to make compilation success .After the deployment 
when i hit the |hostpage| it showing the blank page.Is there anythink 
which i need to configure?

--


--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Experience with GWT on Mobile

2015-08-06 Thread Michael Joyner

  
  
Have you tried GWT Bootstrap3 ?
  
  On 08/06/2015 03:46 PM, Vassilis Virvilis wrote:


  
Hi,
  

In one project of mine we are continuously testing against
  mobile tablets and phones. We lack the resources for a proper
  mobile port so we are trying to be decent enough.



In my experience the problem is not the GWT generated code.
  The compiler brings sanity to any medium project by simply
  allowing refactoring due to java tooling and static typing.
  This is very nice and not a source of problems.
  

The problems lies to the widget set. It is old and was
  designed in the desktop era and it shows in the mobile. It
  works but it feels clunky...  and that makes the experience
  non optimal.
  

Some walls I hit my head against in no specific order.
  

1) Touch interface works through mouse emulation. This
  should be enough for the most common cases. My application
  didn't fit that bill and I had to hunt down the order of
  various events in various browsers and emulators to get it
  right.


  2) Popups are implying body as parent. This doesn't fly with
  fullscreen divs and a gwt application as a widget in general.
  
 https://code.google.com/p/google-web-toolkit/issues/detail?id=3855

https://code.google.com/p/google-web-toolkit/issues/detail?id=8538
  
  3) MenuItems are based on popups - No menus in div fullscreen
  mode
  
  4) MenuItems and most other widgets (DisclosurePanel,
  TablLayoutPanel) are not "nice" from an aesthetic point of
  view. You can customize it a lot through css but I believe a
  new responsive widget set is required to modernize them
  
  5) Popups and DialogBoxes are based on tables and they taking
  their size inside-out which is what you want half the times.
  Furthermore tables are completely non-responsive and obsolete
  design that css cannot change its basic layout
  characteristics.
  

In my experience every GWT widget I have used led to a huge
  backlash that forced me change it so in the end I try to not
  depend on GWT widgets. As you may understand I am still
  depending in MenuItems and Popups :-) and LayoutPanels
  

I don't want to be overly negative. The GWT widget systems
  had its moments. The LayoutPanels and the
  ProvidesResize/RequiresResize chain was a moment of genius.
  Sometimes it is hard as hell to find where the chain is
  breaking (especially if you are inexperienced in GWT) but the
  idea is solid. With some machinery it maybe possible to
  provide some hints...
  

UIBinder is another of these cool ideas that makes GWT a
  success in my eyes.
  

All in all I think the GWT team is doing the right thing
  that deprecating the widget set for GWT 3. Maybe with
  @jsinterop it would be easier to employ modern _javascript_ eye
  candy libraries for UI.
  

And yes it may be the right thing but it will be pretty
  painful for me although my exposure to GWT widgets has been
  kept minimal.
  
  Just my 2cents.
  

    Vassilis

  
  
On Thu, Aug 6, 2015 at 8:18 PM, Ed ej19...@gmail.com
  wrote:
  

  
Hi Nestor;
  

We have been using GWT for about 3 years now.  Without
integrating third party libs, we have not encountered
any issues.

  
  Ed


  

  On Thu, Aug 6, 2015 at 9:32
AM, Néstor Boscán nesto...@gmail.com
wrote:

  Hi


I wanted to know if anyone had experience
  running GWT on mobile devices. How compatible
  is the _javascript_ generated with the iOS and
  Android browsers?


Regards,


Nestor
  
  
  -- 
  You received this message because you are
  subscribed to the 

Re: GWT release prioritization

2015-07-31 Thread Michael Joyner

  
  
+1 to the +1 
  On 07/31/2015 09:24 AM, Ed wrote:


  +1
  
  
organizations can be very hesitant to
  use non-GA versions of libraries. In particular it would be a
  big win to have a "done" version of JsInterop v1 and clear
  guidance on using the current version of elemental.
  

  
  
  

  

  


  




-- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Crawl GWT APP - Google bot

2015-07-20 Thread Michael Joyner

  
  
Sorry, 
  
  That's for GWT 2.7
  
  I don't know what do to for GWT 2.6
  
  -Mike
  
  On 07/20/2015 12:02 PM, Marek A wrote:


  it doesn't work with GWT 2.6 for me

W dniu piątek, 17 lipca 2015 17:41:27 UTC+2 użytkownik Michael
Joyner napisał:

  
You need to stick the following into your main GWT xml
  file:
  
  !-- Fallback User Agent for use by CRAWLERS --
   set-property-fallback name="user.agent"
  value="gecko1_8" /

  

  


  




-- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Crawl GWT APP - Google bot

2015-07-17 Thread Michael Joyner

  
  
You need to stick the following into
  your main GWT xml file:
  
  !-- Fallback User Agent for use by CRAWLERS --
   set-property-fallback name="user.agent" value="gecko1_8"
  /
  
  
  
  On 07/17/2015 08:55 AM, Marek A wrote:


  since 2014 google bot can read/crawl dynamic pages.
But when I run fetch as google in search console, i get empty
page (GWT doesn't start - one page app in GWT).
I think the main reason of this problem is Google bot User Agent
header, GWT can't recognize them and doesn't
start. Do you know some solution or workaround for this issue.
How to create GWT app crawlable
without  html snapshot?
  -- 
  You received this message because you are subscribed to the Google
  Groups "Google Web Toolkit" 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 http://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 Google Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT app doesn't work behind reverse proxy

2015-07-09 Thread Michael Joyner

  
  
Something else you can do to handle the
  RPC portion of the issue in the servlet is to do:
  
  @Override
    protected SerializationPolicy doGetSerializationPolicy(
            HttpServletRequest request, String moduleBaseURL,
String strongName) {
        moduleBaseURL = request.getScheme() + "://" +
request.getServerName()
                + (new File(request.getRequestURI()).getParent()
+ "/");
        return super.doGetSerializationPolicy(request,
moduleBaseURL,
                strongName);
    }
  
  On 07/09/2015 10:16 AM, dhoffer wrote:


  We have a GWT app using (2.6.1) that is deployed to
Tomcat and has been working fine, recently Tomcat's FORM
container authentication was added and that too was working
well.  The problem is now we want to put the app/Tomcat behind
an Apache reverse proxy so end users get a nice URL and this is
breaking the app.  First it breaks Tomcat's FORM authentication,
we now get 408 errors when trying to log into the app.  As a
test we took out the authentication and found that the client
side UI works fine but all calls to the server fail, e.g. all
RPC calls fail too.  This later problem seems similar/same as
what is described here
http://stackoverflow.com/questions/1517290/problem-with-gwt-behind-a-reverse-proxy-either-nginx-or-apache


What is the solution here?  I could try the approach in the
  link above but that only addresses the GWT part, I need that
  and authentication.  Putting the app behind a reverse proxy
  seems such a common thing to do it seems we are missing
  something here that will fix both issues.

  


  




-- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT 2.8 Status? GWT Meet-up 2015 : which technologies for new project

2015-06-16 Thread Michael Joyner

When is GWT 2.8 supposed to ever reach RC status?

It was my understanding that it initially was supposed to be released 
last May ?


--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Eclipse + Gradle plugin, Eclipse is showing Use default SDK ...

2015-06-08 Thread Michael Joyner
When using Eclipse + Gradle I noticed that GWT version is set to Use 
default SDK ...


When using Eclipse + Maven the SDK is set to use the version downloaded 
into the local maven repo.


It is my understanding that the Maven configuration is automatic in 
Eclipse based on source path and an automatic Google Plugin detection 
feature.


What do I need to add to my Gradle file to get the same style of 
behavior as when using Maven?


My concern is that I will have version 'A' in my Gradle file, but 
Eclipse will have a default version 'B' and as a result what I doing in 
Eclipse will not match up with what the compile and deploy sequence in 
Gradle really is looking for ...


-Mike

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Eclipse + Gradle plugin, Eclipse is showing Use default SDK ... (sample Gradle file)

2015-06-08 Thread Michael Joyner

On 06/08/2015 03:22 PM, Michael Joyner wrote:
When using Eclipse + Gradle I noticed that GWT version is set to Use 
default SDK ...




Here is my current build.gradle file:

apply plugin: 'java'
apply plugin: 'gwt'
apply plugin: 'war'
apply from: 
'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'

apply plugin: 'eclipse-wtp'

sourceCompatibility = 1.7
targetCompatibility = 1.7
compileJava.options.encoding = 'UTF-8'

// 
compileJava.options.bootClasspath='/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar'


version = '1.0'

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
classpath 'org.akhikhl.gretty:gretty:+'
}
}

war {
archiveName 'TheWar.war'
}

gretty {
port = 8080;
servletContainer = 'tomcat7'
managedClassReload = false
extraResourceBase 'build/gwt/out'
}

repositories {
mavenLocal()
mavenCentral()
}

compileJava {
options.incremental = true
}


gwt {
minHeapSize = 1024M;
maxHeapSize = 2048M;

gwtVersion='2.7.0'

modules 'com.butterbusiness.ButterAdminModule'

compiler {
strict = true;
enableClosureCompiler = false;
disableClassMetadata = false;
disableCastChecking = false;
}
}

configurations {
  provided
}

dependencies {
providedCompile 'javax.servlet:javax.servlet-api:3.0.1'
compile 'commons-validator:commons-validator:1.4.1'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'com.mchange:c3p0:0.9.5'
compile 'com.fasterxml.jackson.core:jackson-databind:2.5.3'
compile 'mysql:mysql-connector-java:5.1.35'
}

sourceSets {
  main {
compileClasspath += configurations.provided
  }
  test {
compileClasspath += configurations.provided
runtimeClasspath += configurations.provided
  }
}

eclipseJdt  {
File f = file('.settings/org.eclipse.core.resources.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('encoding/project=utf-8')
f = file('.settings/org.eclipse.core.runtime.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('line.separator=\\n\n')
}

eclipse {
project {
name = 'GWT Project'
comment = 'GWT Project'
webAppDirName = 'src/main/webapp'
}
classpath {
plusConfigurations += [configurations.provided]
noExportConfigurations += [configurations.provided]
}
jdt {
sourceCompatibility=1.7
targetCompatibility=1.7
}
wtp {
facet {
facets = []
facet name: 'jst.java', version: '1.7'
facet name: 'jst.web', version: '3.0'
}
}
}

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


help! maven gwt plugin - All Codehaus services have now been terminated.

2015-06-01 Thread Michael Joyner

Help!

It appears that codehaus has fully shutdown per their main website All 
Codehaus services have now been terminated.


Where do we go now for the or a gwt-maven plugin?

-Mike

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.8.0 ?

2015-05-14 Thread Michael Joyner

On 05/14/2015 09:26 AM, Patrick Tucker wrote:

Why not use the 2.8 snapshot?


Does it work well via Maven?

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


GWT 2.8.0 ?

2015-05-13 Thread Michael Joyner

Any status reports on when any GWT 2.8.0 RC's will start being available?

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.7.0 is here

2015-05-12 Thread Michael Joyner

On 05/12/2015 03:36 PM, lukaslokfuehrer...@gmail.com wrote:
great tool. but why do you stop support for linux? is there a way to 
develop with GWT under linux???


Huh?

I for one only develop using Linux ...

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Eclipse question: How to show my own custom description when I mouse over the function?

2015-05-06 Thread Michael Joyner

JavaDoc style commen on definition or interface definition

/**
 * comment
 */
public void function() {}

On 05/06/2015 03:46 PM, 'Leung' via Google Web Toolkit wrote:

Hi,

Eclipse question: How to show my own custom description when I mouse 
over the function created by my own?


Thanks

--
You received this message because you are subscribed to the Google 
Groups Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to google-web-toolkit+unsubscr...@googlegroups.com 
mailto:google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to 
google-web-toolkit@googlegroups.com 
mailto:google-web-toolkit@googlegroups.com.

Visit this group at http://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 Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Issues with Maven and GWT and Eclipse linked source folders?

2015-01-08 Thread Michael Joyner

Hello all,

Hoping this has a simple fix.

We have just mavenized a 2.7 project that depends on two other 
non-mavenized projects.


We are linking to the other projects via a set Eclipse variable to 
provide additional linked (and shared with other projects) source trees.


Is there something I can add to the pom to indicate to use or copy over 
these other source directories for Maven build/install?


If I compile via the GWT Eclipse plugin all is fine.

If I try and compile via Maven I gets lots of cannot find symbol error 
messages.


How can I specify to Maven the linkedResources for additional source 
code? (Even manual entries in the POM are fine)


- partial log

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
iPaperzButterApi ---

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 45 source files to 
/home/michael/git/iPaperzButterApi/iPaperzButterApi/target/classes

[INFO] -
[WARNING] COMPILATION WARNING :
[INFO] -
[WARNING] 
/home/michael/git/iPaperzButterApi/iPaperzButterApi/src/com/ipaperz/butter/server/sm/SitemapResponder.java: 
/home/michael/git/iPaperzButterApi/iPaperzButterApi/src/com/ipaperz/butter/server/sm/SitemapResponder.java 
uses or overrides a deprecated API.
[WARNING] 
/home/michael/git/iPaperzButterApi/iPaperzButterApi/src/com/ipaperz/butter/server/sm/SitemapResponder.java: 
Recompile with -Xlint:deprecation for details.

[INFO] 2 warnings
[INFO] -
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR] 
/home/michael/git/iPaperzButterApi/iPaperzButterApi/src/com/ipaperz/butter/website/WebsiteApp.java:[14,37] 
package com.ipaperz.butter.pojo.param does not exist
[ERROR] 
/home/michael/git/iPaperzButterApi/iPaperzButterApi/src/com/ipaperz/butter/shared/RestApi.java:[10,20] 
package me.pubz.pojo does not exist
[ERROR] 
/home/michael/git/iPaperzButterApi/iPaperzButterApi/src/com/ipaperz/butter/shared/RestApi.java:[12,31] 
package com.ipaperz.butter.pojo does not exist


- pom.xml

?xml version=1.0 encoding=UTF-8?

project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;

properties
project.build.sourceEncodingUTF-8/project.build.sourceEncoding
/properties
modelVersion4.0.0/modelVersion
groupIdiPaperzButterApi/groupId
artifactIdiPaperzButterApi/artifactId
version1.0/version
packagingwar/packaging
build
finalNameiPaperzButterApi/finalName
sourceDirectorysrc/sourceDirectory
plugins
plugin
configuration
failOnErrortrue/failOnError
/configuration
groupIdorg.codehaus.mojo/groupId
artifactIdgwt-maven-plugin/artifactId
version2.7.0/version
executions
execution
goals
goalcompile/goal
goalgenerateAsync/goal
goaltest/goal
/goals
/execution
/executions
/plugin
plugin
artifactIdmaven-compiler-plugin/artifactId
version3.1/version
configuration
appendAssemblyIdfalse/appendAssemblyId
source1.7/source
target1.7/target
/configuration
/plugin
plugin
artifactIdmaven-war-plugin/artifactId
version2.4/version
configuration
packagingIncludes**/*/packagingIncludes
appendAssemblyIdfalse/appendAssemblyId
warSourceDirectoryWebContent/warSourceDirectory
failOnMissingWebXmlfalse/failOnMissingWebXml
/configuration
/plugin
/plugins
/build
dependencies
dependency
groupIdcommons-logging/groupId
artifactIdcommons-logging/artifactId
version1.2/version
/dependency
dependency
groupIdxml-apis/groupId
artifactIdxml-apis/artifactId
version1.4.01/version
/dependency
dependency
groupIdorg.glassfish.jersey.containers/groupId
artifactIdjersey-container-servlet/artifactId
version2.14/version
/dependency
dependency
groupIdcom.mchange/groupId
artifactIdc3p0/artifactId
version0.9.5/version
/dependency
dependency
groupIdorg.jsoup/groupId
artifactIdjsoup/artifactId
version1.8.1/version
/dependency
dependency
groupIdorg.fusesource.restygwt/groupId
 

Help! Super Dev Mode crashes with NPE on statics???

2015-01-08 Thread Michael Joyner

Help! Super Dev Mode crashes with NPE on statics???

We have a project that compiles fine and runs fine using normally 
compile files.


When we try and run in Super Dev Mode all statics are coming up as 
undefined in the javascript?


This only happens when running SDM ?

We've tried moving the GWT.create portions into at static {} block 
and checked to see if they were showing up as null and they aren't at 
that point ..


-Mike

Class fragment:

public class Butter implements ScheduledCommand, LoginEventHandler {
private final static ButterClientFactoryImpl factory = 
GWT.create(ButterClientFactoryImpl.class);
private final static ButterPageLayout layout = 
GWT.create(ButterPageLayout.class);

private final static Api api = new Api();

function which is triggering the undefined error:

public static EventBus getEventBus(){ return factory.getEventBus(); }


--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: (New to GWT) Need advise in migrating current app from GWT 1.7.0

2014-12-17 Thread Michael Joyner
IMHO it would be better to go with 2.7.0 so that you will be less likely 
to accidentally use deprecated stuff ...


On 12/17/2014 09:48 AM, ssg wrote:

Hi all,
I am new to GWT. Need your input. Current app is using GWT 1.7.0

Is it better to migrate to gwt2.6.1 because it will be much smoother 
with less hurdles than migrating to gwt2.7.0 since I am new to gwt ?

(OR)
Is it better to migrate to gwt2.7.0 even though I am new to gwt and 
the hurdles I face in migrating will be same as gwt2.6.1 ?


Any help would be greatly appreciated.

Thank you.
--
You received this message because you are subscribed to the Google 
Groups Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to google-web-toolkit+unsubscr...@googlegroups.com 
mailto:google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to 
google-web-toolkit@googlegroups.com 
mailto:google-web-toolkit@googlegroups.com.

Visit this group at http://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 Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Google 4.4 latest plugin update for Eclipse.

2014-11-06 Thread Michael Joyner
I've just updated to the latest version of the plugin for Eclipse and 
noticed two things:


*A*) There is now a Run as SDM for GWT enabled projects. It seems to 
work fine with source code pulled from other projects via linked folders 
which is nice.


Because of the way our Servlet is configured, it doesn't work inside of 
Jetty. So we just tell Eclipse to start the superdevmode followed up by 
running it on Tomcat and sdm is working fine.


*B*) It still only has an option for GWT 2.6.0 SDK as part of the 
downloadable SDKs?


Is this intentional? I was expecting 2.6.1 as being an option under the 
SDK list.


-Mike

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: SuperDevMode with -noserver and remote server

2014-09-30 Thread Michael Joyner
Just a shot in the dark, but did you enable the whitelist setting in the 
xml file?


On 09/30/2014 02:26 PM, Rogelio Flores wrote:
I have an app that that has a server with a complex setup and is 
memory-intensive so we run it on a remote host. Good ol' DevMode runs 
fine if we run it with -noserver and point to remote host. I just 
upgraded to latest GWT as it was using an old version, and we want to 
start using SuperDevMode (SDM). I can run SDM fine if I run the 
embedded server that comes with GWT and can work on client side code 
this way, but if I try to run SDM pointing to the remote host (and 
-noserver), when I click the bookmark Dev Mode On, I get the popup 
which shows my module name (although in grayed-out color) but no 
Compile button appears, so I can't compile/refresh the app. What am I 
missing to make SDM work on this setup?

--
You received this message because you are subscribed to the Google 
Groups Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to google-web-toolkit+unsubscr...@googlegroups.com 
mailto:google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to 
google-web-toolkit@googlegroups.com 
mailto:google-web-toolkit@googlegroups.com.

Visit this group at http://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 Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: good gwt mysql hosting

2014-09-23 Thread Michael Joyner
I use Afterburst for unlimited bandwidth and dedicated ram allocation 
VPS with Tomcat myself (hosted in Germany). 
http://www.afterburst.com/unmetered-vps


On 09/23/2014 03:12 AM, .tet.suo.mei.ster. wrote:
just look around for a root-server ( self managed ) wich starts around 
10-20eurobugs. put a debian on it, install sun-java and tomcat7 and 
enjoy. there is no magic within. if you need some managed one, tell.




--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: good gwt mysql hosting

2014-09-23 Thread Michael Joyner
 I use Afterburst for unlimited bandwidth and dedicated ram allocation VPS
with Tomcat myself (hosted in Germany).
http://www.afterburst.com/unmetered-vps

On 09/23/2014 03:12 AM, .tet.suo.mei.ster. wrote:

just look around for a root-server ( self managed ) wich starts around
10-20eurobugs. put a debian on it, install sun-java and tomcat7 and enjoy.
there is no magic within. if you need some managed one, tell.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: good gwt mysql hosting

2014-09-23 Thread Michael Joyner
 I use Afterburst for unlimited bandwidth and edicated ram allocation VPS
with Tomcat myself. $15.00/month

On 09/23/2014 03:12 AM, .tet.suo.mei.ster. wrote:

just look around for a root-server ( self managed ) wich starts around
10-20eurobugs. put a debian on it, install sun-java and tomcat7 and enjoy.
there is no magic within. if you need some managed one, tell.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: SuperDevMode external server

2014-07-30 Thread Michael Joyner

Have you tried adjusting the whitelist setting for SDM?

On 07/30/2014 08:34 AM, Jack Thompson wrote:

Hello,

Our GWT app does REST operations with the web server that's hosting 
it. The server uses HTTP-Basic authentication for the REST operations. 
In production mode this naturally poses no problems. However in GWT 
development mode the issues of cross domain restrictions (CORS) come 
into play.


To work around this we've used the Eclipse option /Debug as web 
application running on an external/ /server/ and pointed it the url 
where the GWT app is deployed on the server. This works all fine but 
as we know the time is running out for the conventional GWT 
development mode and SuperDevMode is the future.


However we have not managed to get the SDM to work in manner similar 
to the way we've used the development in the past. We've got the code 
server up and running our GWT app with SDM debugging locally works but 
the REST calls fail due the above CORS issue. Trying to run the SDM 
externally similar to the development mode ends up in on the dev mode 
popup with the compile button missing with a tooltip saying /This 
module does't have SDM enabled/.

--
You received this message because you are subscribed to the Google 
Groups Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to google-web-toolkit+unsubscr...@googlegroups.com 
mailto:google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to 
google-web-toolkit@googlegroups.com 
mailto:google-web-toolkit@googlegroups.com.

Visit this group at http://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 Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Stable .rpc files

2014-06-18 Thread Michael Joyner


On 06/17/2014 06:25 PM, Joseph Lust wrote:

If that works for you. Personally, I expected idempotency in builds.


We aren't deploying each recompile to the production site, and it is 
simple enough to add a hook to ignore a serial diff it is running 
locally by checking URL.


--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Stable .rpc files

2014-06-16 Thread Michael Joyner

Ack ...

What about a simple build timestamp?



On 06/16/2014 03:15 PM, Joseph Lust wrote:

@Michael, welcome the the Chicken and the Egg problem.

In order to build the build number (I'm assuming you mean rev number 
from git/svn), you've first got to commit that code. Then, you've got 
be build it, but the code never had the commit number in it, since it 
could not be known pre-commit.


To get around this in the past I have used either of the following:

  * Written a GWT compiler plugin to generate the impl of a
BuilderNumberProvider class. This plugin grabbed the rev # from
Maven then then wrote and compiled an extra class with that value
in it.
  * Copied the build number into the WAR and then injected it into the
app page (i.e. jsp) and had GWT read it via JSNI at the EntryPoint.


Hope that helps.


Sincerely,
Joseph
--
You received this message because you are subscribed to the Google 
Groups Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to google-web-toolkit+unsubscr...@googlegroups.com 
mailto:google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to 
google-web-toolkit@googlegroups.com 
mailto:google-web-toolkit@googlegroups.com.

Visit this group at http://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 Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Stable .rpc files

2014-06-12 Thread Michael Joyner

On 06/12/2014 04:56 AM, P.G.Taboada wrote:
My build process stores build/ version information into the host-file 
(js dictionary) and I have a servlet that delivers same information on 
the server side. Client asks server, if server has different build/ 
version number, client side reloads.



What is the easiest way to store a build number as part of the project 
when using a stock Eclipse project setup?


--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


  1   2   >