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


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



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


UTF-8

4.0.0
iPaperzButterApi
iPaperzButterApi
1.0
war

iPaperzButterApi
src



true

org.codehaus.mojo
gwt-maven-plugin
2.7.0



compile
generateAsync
test





maven-compiler-plugin
3.1

false
1.7
1.7



maven-war-plugin
2.4

**/*
false
WebContent
false






commons-logging
commons-logging
1.2


xml-apis
xml-apis
1.4.01


org.glassfish.jersey.containers
jersey-container-servlet
2.14


com.mchange
c3p0
0.9.5


org.jsoup
jsoup
1.8.1


org.fusesource.restygwt
restygwt
2.0.1


org.apache.commons
commons-email
1.3.3


mysql
mysql-connector-java
5.1.34


com.io7m.xom
xom
1.2.10


nl.siegmann.epublib
epublib-core
3.1


com.fasterxml.jackson.core
jackson-databind
2.5.0


org.apache.solr
solr-solrj
4.10.3


com.jcraft
jsch
0.1.51


net.sourceforge.htmlcleaner
htmlcleaner
2.10


org.apache.commons
commons-lang3
3.3.2


commons-io
commons-io
2.4


org.glassfish.jersey.media
jersey-media-json-jackson
2.14


com.google.gwt
gwt-user
2.7.0
provided


com.google.gwt
gwt-servlet
2.7.0
runtime


org.realityforge.gwt.cache-filter
   

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


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


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.


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


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.


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.


Re: Crawl GWT APP - Google bot

2015-07-17 Thread Michael Joyner

  
  
You need to stick the following into
  your main GWT xml file:
  
  
   
  
  
  
  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: 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:
  
  
   

  

  


  




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

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

  
  

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

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

  
  

  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

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

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


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

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



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.


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


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


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

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


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.


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.


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


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


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


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: 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: 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 google-web-toolkit@googlegroups

Re: issue with tomcat server

2013-08-21 Thread Michael Joyner
You need to change how much memory java is allowed to allocate for the
tomcat process. The default is rather small.


On Tue, Aug 20, 2013 at 4:56 PM, fedex  wrote:

> For my application I am writing 1 million records to the csv file. It
> works fine when I run in dev mode but when I deploy the application on
> tomcat it throws java heap memory issue? why?
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: load image file from directory outside WAR folder and display in gwt app.

2013-08-26 Thread Michael Joyner
Override the doGet method in your GWT servlet and stream the appropriate
file based on the query string you send it.


On Mon, Aug 26, 2013 at 6:41 AM, Jostein  wrote:

> Hi all,
> I have the following situation:
>
> I have a directory, /home/images, on my Ubuntu server containing images.
> The images are uploaded from an Android application by a servlet.
> I am running Tomcat7 on this server and the image directory is owned by
> the Tomcat7 user so it should be accessable from tomcat.
>
> Now I want to view the images in my GWT application running on the same
> tomcat server. I have not been able to find a working example for this.
>
> I hope someone point mee to the right solution here. I would like to see
> example including both server- and clien side code.
>
> Thanks in advance
>
> Jostein
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


__gwt_HostedModePlugin is not defined,,Line 231 // Development Mode requires the GWT Developer Plugin

2013-11-20 Thread Michael Joyner

Eh... this just started happening to me, and I am unable to use dev mode. :(

Mozilla Firefox for Linux Mint 25.0.1

about:support shows:

Google Web Toolkit Developer Plugin for Firefox1.25true 
gwt-dev-plu...@google.com


Just did a "FireFox" reset and... no change in behavior


--
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/groups/opt_out.


Re: __gwt_HostedModePlugin is not defined,,Line 231 // Development Mode requires the GWT Developer Plugin

2013-11-20 Thread Michael Joyner


On 11/20/2013 02:55 PM, Juan Pablo Gardella wrote:
Did you try using sudo to open firefox? there is a problem and this is 
the workaround.


I should sudo each time I open it? That sounds like a non-working for me 
work-around. My workaround: Have downgraded FF via Synaptic to version 20.



2013/11/20 Michael Joyner mailto:mich...@newsrx.com>>

Eh... this just started happening to me, and I am unable to use
dev mode. :(

Mozilla Firefox for Linux Mint 25.0.1

about:support shows:

Google Web Toolkit Developer Plugin for Firefox1.25  true
gwt-dev-plu...@google.com <mailto:gwt-dev-plu...@google.com>

Just did a "FireFox" reset and... no change in behavior


-- 
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%2bunsubscr...@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/groups/opt_out.


--
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/groups/opt_out.


--
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/groups/opt_out.


Re: Encrypted Alert message

2014-02-24 Thread Michael Joyner

On 02/24/2014 01:16 PM, Jeffrey Argo wrote:
Thanks for your answer Jens, I am new to GWT so I don't know if my 
next question is doable or not.  From logs I can see that the service 
is still running on the server after I get the alert message. So when 
I detect this error can I go back and restart another callback that 
will wait again for the original RPC to finish. If this is possible 
can you give me a high level idea on how it would be done.  Thanks for 
your help.




Just to jump into the middle here... are you proxying through Apache? If 
yes, you might need to increase timeout in the proxy settings.


--
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/groups/opt_out.


Re: GWT - The response could not be deserialized

2014-04-08 Thread Michael Joyner
Try wrapping you data objects in POJO's and not passing your data as raw 
arrays and see if that helps.


-Mike

On 04/08/2014 03:33 PM, Pippo Baudone wrote:

i am in this situation:

|
|
@RemoteServiceRelativePath("create_event")publicinterfaceCreateEventServiceextendsRemoteService{String[]createeventServer(LinkedList>input)throwsIllegalArgumentException;}
|




|
publicinterfaceCreateEventServiceAsync{voidcreateeventServer(LinkedList>input,AsyncCallbackcallback)throwsIllegalArgumentException;}
|




|
publicclassCreateEventServiceImplextendsRemoteServiceServletimplementsCreateEventService{publicString[]createeventServer(LinkedList>input)throwsIllegalArgumentException{String[]arr 
=newString[2];...returnarr;}}

|


|

Why does this cause error "*The response could not be deserialized*"?

p.s. I have tried to execute the project with app engine and without 
it, but the problem is the same.


--
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 - The response could not be deserialized

2014-04-08 Thread Michael Joyner


The following can cause issues with de/serialization:

||LinkedList>  


maybe try something similar to:

||
String[]  createeventServer(LinkedList>  input)  throws  IllegalArgumentException;  



||class List {
||  LinkedList<||Sublist> list;
}

class Sublist {
LinkedList sublist;
}
||




On 04/08/2014 04:32 PM, Pippo Baudone wrote:

i've tried it but with no success

Il giorno martedì 8 aprile 2014 21:38:44 UTC+2, Michael Joyner ha 
scritto:


Try wrapping you data objects in POJO's and not passing your data
as raw arrays and see if that helps.

-Mike

On 04/08/2014 03:33 PM, Pippo Baudone wrote:

i am in this situation:

|
|

@RemoteServiceRelativePath("create_event")publicinterfaceCreateEventServiceextendsRemoteService{String[]createeventServer(LinkedList>input)throwsIllegalArgumentException;}
|




|

publicinterfaceCreateEventServiceAsync{voidcreateeventServer(LinkedList>input,AsyncCallbackcallback)throwsIllegalArgumentException;}
|




|

publicclassCreateEventServiceImplextendsRemoteServiceServletimplementsCreateEventService{publicString[]createeventServer(LinkedList>input)throwsIllegalArgumentException{String[]arr
=newString[2];...returnarr;}}
|


|

Why does this cause error "*The response could not be deserialized*"?

p.s. I have tried to execute the project with app engine and
without it, but the problem is the same.

-- 
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-we...@googlegroups.com .
Visit this group at
http://groups.google.com/group/google-web-toolkit
<http://groups.google.com/group/google-web-toolkit>.
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 "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: Exception while dispatching incoming RPC call

2014-04-24 Thread Michael Joyner

On 04/24/2014 01:44 PM, Charles Nelson wrote:
I've tried manually setting the service URL with 
setServiceEntryPoint(URL), ensuring the ServletContext.getResource() 
call and overriding the 
RemoteServiceServlet.doGetSerializationPolicy() methods but my app 
still fails on my hosting company's server. And they aren't providing 
access to the tomcat logs so I can't determine what's failing. This is 
my 1st pure GWT-RPC app. My other apps use GWT-HTTP for the client 
side and uses grails for the server side and I haven't had any issues 
with tomcat.


Right now I'm lost...


Is your web exposed War deploy path the same as the Tomcat context path?

I have a system here I have to override the module base on the server 
side with:


@Override
protected SerializationPolicy doGetSerializationPolicy(
HttpServletRequest request, String moduleBaseURL, String 
strongName) {
moduleBaseURL=request.getScheme()+"://"+request.getServerName()+(new 
File(request.getRequestURI()).getParent()+"/");

//System.out.println("MUNGED moduleBaseURL: "+moduleBaseURL);
return super.doGetSerializationPolicy(request, moduleBaseURL, 
strongName);

}

--
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-10 Thread Michael Joyner

On 06/10/2014 01:42 PM, Jens wrote:
At work when I upgrade our app and rpc policy files have changed users 
get a message "App has been updated and will now be reloaded". The app 
reloads itself and the user can continue to work using the updated 
app. Is that already too much of a downtime for you?


What is the procedure you use for detecting app and rpc policy file change?

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


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


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.


Cookie path and domain issue...

2012-10-22 Thread Michael Joyner
Help!

I have tried Googling different combinations of keywords, but I can't find 
anything that shows me how to do something like the following for Google 
RPC similar to the way I do for doPost in regular servlets that directly 
extend "HttpServlet" as doPost does not show up as overridable!

requestedHostname=request.getServerName();
getServletContext().getSessionCookieConfig().setDomain(requestedHostname);
getServletContext().getSessionCookieConfig().setPath("/");
HttpSession session=request.getSession(true);

I don't see where I can override doPost when extending 
"RemoteServiceServlet", and because my servlet is being served via a proxy, 
I need to override the domain and path the servlet is using so that the 
jsessionid cookie sets correctly.

Thanks for the help!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/8pYu6voDI-wJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Cookie path and domain issue...

2012-10-22 Thread Michael Joyner
On Mon, Oct 22, 2012 at 3:05 PM, Abraham Lin wrote:

> The path rewriting should be done by the proxy, not by your code. What are
> you using as the proxy?


I am using the following in my apache config:

   
ProxyPass ajp://localhost:8009/dev-PubzMeAPI-TEST/


I do need to change the cookies to match based on the hostname + path being
requested, as the same servlet will have multiple hostnames/paths it can be
accessed by.

At this moment I am leaning towards trying to insert manual cookies sets in
@override for "processCall", as I can't seem to find a way to set this
dynamically on a per request basis. :(


>
> -Abraham
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/ZrFfNsFcEDwJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Cookie path and domain issue...

2012-10-22 Thread Michael Joyner


On Monday, October 22, 2012 4:07:52 PM UTC-4, Abraham Lin wrote:
>
> Use the 
> ProxyPassReverseCookieDomain
>  and 
> ProxyPassReverseCookiePath
>  directives 
> in your httpd config. Depending on how your virtual hosts are configured, 
> you may want to make use of the environment variable interpolation.
>
>
Is there any reason these values cannot be set in the gwt RPC servlet? I 
can set these in the a 'standard' servlet using the previously referenced 
code, and I am at a loss as to why I can't set them for a GWT servlet 
also...
 

> -Abraham
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/3k-ar5FgSt4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Cookie path and domain issue...

2012-10-23 Thread Michael Joyner
On Mon, Oct 22, 2012 at 4:14 PM, Michael Joyner  wrote:

>
>
> On Monday, October 22, 2012 4:07:52 PM UTC-4, Abraham Lin wrote:
>>
>> Use the 
>> ProxyPassReverseCookieDoma**in<http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiedomain>
>>  and 
>> ProxyPassReverseCookieP**ath<http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiepath>
>>  directives
>> in your httpd config. Depending on how your virtual hosts are configured,
>> you may want to make use of the environment variable interpolation.
>>
>>
> Is there any reason these values cannot be set in the gwt RPC servlet? I
> can set these in the a 'standard' servlet using the previously referenced
> code, and I am at a loss as to why I can't set them for a GWT servlet
> also...
>
>
>> -Abraham
>>
>
I injected a hackish fix. As this servlet is being deployed in multiple
contexts, counting on the proxy stuff being set correctly is problematic. I
prefer not counting on myself or other humans in making sure said proxy
configs are set correctly everywhere.

Here is my hackish fix for those curious:


/* (non-Javadoc)
 * @see
com.google.gwt.user.server.rpc.RemoteServiceServlet#processCall(java.lang.String)
 */
@Override
public String processCall(String payload) throws SerializationException
{
fixSessionCookie();
return super.processCall(payload);
}

private void fixSessionCookie(){
String sessionId="";

sessionId=getThreadLocalRequest().getSession(true).getId();
Cookie sessionCookie=new Cookie("JSESSIONID", sessionId);
sessionCookie.setComment("API Session Tracking Cookie");
sessionCookie.setDomain(getThreadLocalRequest().getServerName());
sessionCookie.setPath("/");
sessionCookie.setSecure(false);
sessionCookie.setValue(sessionId);
sessionCookie.setMaxAge(-1);

System.err.println("session id: "+sessionCookie.getValue());

getThreadLocalResponse().addCookie(sessionCookie);
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Firefox 17 dev plugin

2012-11-26 Thread Michael Joyner
Anyone willing to post this dev build? I just had my FF auto-update :(

On Mon, Nov 26, 2012 at 9:12 AM, Thomas Broyer  wrote:

>
> On Monday, November 26, 2012 2:30:40 PM UTC+1, koma wrote:
>>
>> I can see here 
>> http://gwt-code-reviews.**appspot.com/1870803/that
>>  the plugin for FF17 Linux 64bit is ready for a couple of days; Are
>> there any instructions availablle on how to build the plugin or is it
>> available somewhere pre-built ? I feel kinda lucky as I am working on
>> Ubuntu 64 bit, but it is an ambiguous feeling as I dont know how to get
>> this running ...
>
>
> IIRC:
>
>1. Checkout trunk/plugins
>2. Checkout plugin-sdks/gecko-sdks/gecko-17.0.0
>3. Apply the patch to trunk/plugins
>4. cd plugins/xpcom && make BROWSER=FF170
>
> That should update the XPI found in plugins/xpcom/prebuilt
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/wqV-sAo5aQAJ.
>
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Firefox 17 dev plugin

2012-11-26 Thread Michael Joyner
On Mon, Nov 26, 2012 at 12:19 PM, Thomas Broyer  wrote:

>
>
> On Monday, November 26, 2012 3:54:18 PM UTC+1, Michael Joyner wrote:
>>
>> Anyone willing to post this dev build? I just had my FF auto-update :(
>>
>
> Given that only the Linux x64 patch is ready, therefore assuming you're on
> Linux x64, can't you just "apt-get install firefox=16*" or equivalent?
>

Heh... didn't think about that... its a Monday after a long weekend. :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Firefox 17 dev plugin

2012-11-26 Thread Michael Joyner
I downgraded via dpkg to FF16 then marked it as stay that way in Synaptic.
Luckily, the FF16 deb was still in my cache folder.

On Mon, Nov 26, 2012 at 3:15 PM, Daniel Kurth  wrote:

> Yep, that's the package I see available for Firefox, but I don't think it
> includes the google plugin. I'd be happy to be wrong on that score, but to
> date I've used packages (from Debian..Ubuntu) for everything except the
> Firefox google plugin (for which I've instead relied on the gracious
> efforts of people such as as yourself).
>
> On Monday, November 26, 2012 10:40:06 AM UTC-8, Thomas Broyer wrote:
>>
>>
>>
>> On Monday, November 26, 2012 6:59:08 PM UTC+1, Daniel Kurth wrote:
>>>
>>> It would have to be packaged first. I myself am using Ubuntu 12.04 etc
>>> and unfortunately have never seen it available that way (or at least in the
>>> default packages).
>>>
>>
>> http://packages.ubuntu.com/**precise/firefox
>>  ?
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/KBdmoZHT3dsJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Facebook + hosted.html

2013-01-07 Thread Michael Joyner
Have you tried changing your plugin's settings to be able to access on a
non 127.0.0.1 address and access it that way? (Changing the URL to match of
course...)

On Sun, Jan 6, 2013 at 7:28 PM, Brian Henry  wrote:

> A Facebook app I've been working on has stopped working in hosted mode.
> Some editing of hosted.html was always necessary to get it running inside
> the Facebook canvas, as per:
> http://code.google.com/p/google-web-toolkit/issues/detail?id=4468
>
> I've updated Eclipse (4.2.1), GWT (201212122042), the Eclipse plugin,
> Firefox (17.0.1) and the Firefox plugin (1.0.11394).
>
> The page is served, nocache is loaded, hosted.html is loaded, two .css
> files are loaded and then there's a GET to
> http://gwt.google.com/missing-plugin
>
> The application works fine if loaded directly. From suggestions in earlier
> threads, I've tried using 127.0.0.1, localhost and a fake domain set in my
> hosts. It looks like Firefox isn't letting the Facebook canvas iframe
> access the plugin. I disabled all my other plugins but that didn't help.
>
> Any ideas for the sudden change/how to fix it?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/VB1HeeMagh0J.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Maintaining security in an additional servlet

2013-01-07 Thread Michael Joyner
On Mon, Jan 7, 2013 at 2:23 PM, Flying-w wrote:

> Once again thanks for the suggestions.  Email won't work here however, as
> the GWT application is an interactive workflow management tool.  When a
> user wishes to see a PDF, they need to see it right now rather than wait
> for a link to be supplied via email.  If browser is the only way forward,
> how can I do this?


You still use the LINK method, just return the link to the GWT application
which should open a hidden iframe and point the iframe to it.
The servlet, (which you can override your existing get in the GWT rpc
servlet btw), when it receives the request and have your servlet  send the
PDF with the extra mime-type stuff to force download.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: remove final from public final void RemoteServiceServlet.processPost

2013-03-01 Thread Michael Joyner
On Fri, Mar 1, 2013 at 1:13 PM, James  wrote:

> Now (up to version 2.5) we are not allowed to override
> RemoteServiceServlet.processPost because it is a final method.
> RemoteServiceServlet just allows String Serialization/Deserialization. My
> application allow users to download some files (in stream). I can implement
> this in a regular Java servlet. In this case, same business logic spreads
> two classes. If RemoteServiceServlet.processPost is allowed to override, I
> can implement it to allow processPost to return either string or stream
> through response. Does GWT committee have a plan to relieve this
> restriction?
>
>
> Why are you not just overriding doPost or doGet ?

@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
}

...

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I/O 2013 - GWT Sessions?

2013-05-16 Thread Michael Joyner
Good. I am looking forward to seeing them.


On Thu, May 16, 2013 at 12:21 PM, Jens  wrote:

>
> Doesn't look like either are being recorded.  Oh well.
>
>
> They will be recorded. It just takes some time to put them online ;)
>
> Read comments in:
>
> https://plus.google.com/111085781306219684730/posts/42jN7J2i15G
> https://plus.google.com/u/0/112375874198651423592/posts/YduBRKv4Kba
>
> -- J.
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Does the Google App Engine Support Java/J2EE Web Application

2013-07-24 Thread Michael Joyner
If you don't mind setting up your own tomcat/jboss, you can also get a VPS
in Germany for ~ $15.00/month, 1.5 Gigs Ram, unmetered bandwidth.


On Wed, Jul 24, 2013 at 3:08 PM, RyanZA  wrote:

> http://aws.amazon.com/ec2/
> https://cloud.google.com/products/compute-engine
> https://www.digitalocean.com/
> http://www.windowsazure.com/en-us/
>
> On Wednesday, July 24, 2013 4:21:44 PM UTC+2, Iman Lechgar wrote:
>>
>> Hi, Richard please what do you mean by VM-based hosting service ??? any
>> examples ?
>>
>> I'll be very thankful .
>>
>> Le vendredi 3 août 2012 06:38:57 UTC+1, vikash@Atos a écrit :
>>>
>>> Hi,
>>>
>>> I have two questions:
>>>
>>> 1) Does the Google App Engine supports web application (java/j2ee)?
>>> I have a java/j2ee web app, can I deploy it on Google App Engine (with
>>> my gmail account)?
>>>
>>>
>>> 2) If my application is using MySQL, how can I run it on GAE?
>>>
>>> Thanks in advance.
>>> Vikash
>>>
>>  --
> 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/groups/opt_out.
>
>
>

-- 
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/groups/opt_out.




Re: Does the Google App Engine Support Java/J2EE Web Application

2013-07-24 Thread Michael Joyner
This is the provider I am using: http://afterburst.com/unmetered-vps

I currently have their "mini/$15-month" in Europe. Getting ready to test a
JBoss setup on it and see if I like that better than TomCat.


On Wed, Jul 24, 2013 at 3:21 PM, mukut  wrote:

> please send details link abut this vps... really look cheaper..
>
>
> On Thu, Jul 25, 2013 at 12:45 AM, Michael Joyner wrote:
>
>> If you don't mind setting up your own tomcat/jboss, you can also get a
>> VPS in Germany for ~ $15.00/month, 1.5 Gigs Ram, unmetered bandwidth.
>>
>>
>> On Wed, Jul 24, 2013 at 3:08 PM, RyanZA  wrote:
>>
>>> http://aws.amazon.com/ec2/
>>> https://cloud.google.com/products/compute-engine
>>> https://www.digitalocean.com/
>>> http://www.windowsazure.com/en-us/
>>>
>>> On Wednesday, July 24, 2013 4:21:44 PM UTC+2, Iman Lechgar wrote:
>>>>
>>>> Hi, Richard please what do you mean by VM-based hosting service ??? any
>>>> examples ?
>>>>
>>>> I'll be very thankful .
>>>>
>>>> Le vendredi 3 août 2012 06:38:57 UTC+1, vikash@Atos a écrit :
>>>>>
>>>>> Hi,
>>>>>
>>>>> I have two questions:
>>>>>
>>>>> 1) Does the Google App Engine supports web application (java/j2ee)?
>>>>> I have a java/j2ee web app, can I deploy it on Google App Engine (with
>>>>> my gmail account)?
>>>>>
>>>>>
>>>>> 2) If my application is using MySQL, how can I run it on GAE?
>>>>>
>>>>> Thanks in advance.
>>>>> Vikash
>>>>>
>>>>  --
>>> 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/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> 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/groups/opt_out.
>>
>>
>>
>
>  --
> 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/groups/opt_out.
>
>
>

-- 
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/groups/opt_out.




Re: Does the Google App Engine Support Java/J2EE Web Application

2013-07-24 Thread Michael Joyner
Oh. and I even installed the gnome desktop + freenx in a 64-bit centos, and
now have remote desktop + eclipse setup right on the remove vps. My upload
bandwidth at the house sux.


On Wed, Jul 24, 2013 at 3:31 PM, Michael Joyner  wrote:

>
>
> This is the provider I am using: http://afterburst.com/unmetered-vps
>
> I currently have their "mini/$15-month" in Europe. Getting ready to test a
> JBoss setup on it and see if I like that better than TomCat.
>
>
> On Wed, Jul 24, 2013 at 3:21 PM, mukut  wrote:
>
>> please send details link abut this vps... really look cheaper..
>>
>>
>> On Thu, Jul 25, 2013 at 12:45 AM, Michael Joyner wrote:
>>
>>> If you don't mind setting up your own tomcat/jboss, you can also get a
>>> VPS in Germany for ~ $15.00/month, 1.5 Gigs Ram, unmetered bandwidth.
>>>
>>>
>>> On Wed, Jul 24, 2013 at 3:08 PM, RyanZA  wrote:
>>>
>>>> http://aws.amazon.com/ec2/
>>>> https://cloud.google.com/products/compute-engine
>>>> https://www.digitalocean.com/
>>>> http://www.windowsazure.com/en-us/
>>>>
>>>> On Wednesday, July 24, 2013 4:21:44 PM UTC+2, Iman Lechgar wrote:
>>>>>
>>>>> Hi, Richard please what do you mean by VM-based hosting service ???
>>>>> any examples ?
>>>>>
>>>>> I'll be very thankful .
>>>>>
>>>>> Le vendredi 3 août 2012 06:38:57 UTC+1, vikash@Atos a écrit :
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have two questions:
>>>>>>
>>>>>> 1) Does the Google App Engine supports web application (java/j2ee)?
>>>>>> I have a java/j2ee web app, can I deploy it on Google App Engine
>>>>>> (with
>>>>>> my gmail account)?
>>>>>>
>>>>>>
>>>>>> 2) If my application is using MySQL, how can I run it on GAE?
>>>>>>
>>>>>> Thanks in advance.
>>>>>> Vikash
>>>>>>
>>>>>  --
>>>> 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/groups/opt_out.
>>>>
>>>>
>>>>
>>>
>>>  --
>>> 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/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> 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/groups/opt_out.
>>
>>
>>
>
>

-- 
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/groups/opt_out.




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

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 t

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:
  

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)
   

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


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.


  1   2   >