Re: How to use gwt with master ?

2015-04-11 Thread Jens
If you use a build tool that understands Maven you can use 2.8.0-SNAPSHOT 
provided 
through https://oss.sonatype.org/content/repositories/google-snapshots/

Otherwise you have to build GWT from source:

mkdir gwtproject
cd gwtproject
git clone https://gwt.googlesource.com/gwt gwt
svn checkout http://google-web-toolkit.googlecode.com/svn/tools/ tools
cd gwt
export GWT_VERSION=2.8.0-SNAPSHOT && ant clean elemental dist-dev

The SDK can then be found in the build/dist folder. If you don't need 
Elemental you can skip that by removing "elemental" from the above command.

Note that only Java8 syntax is supported. If you need Java 8 APIs you have 
to emulate them yourself for now (and maybe contribute them). I have done 
some work for java.util stuff that you can find on Gerrit if you need 
it: https://gwt-review.googlesource.com/#/q/topic:java8-emul .

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


How to use gwt with master ?

2015-04-11 Thread Maximilien Cruz
Hello, I would like to use GWT, but I need to use Java 8 with it (I have a 
few libraries that I need to use who is already coded with java8).

I saw that the trunk/master already works with lambdas and I think this is 
the only thing I need to get everything working.

So my question is : Is there any tutorial to use the latest GWT snapshot in 
my projet ? Or could someone explain me how to do it ?

Thanks a lot !

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


instanceof not working when upgrade from 2.7.0-SNAPSHOT to 2.7.0 (maybe caused by JsInterop changes)

2015-04-11 Thread 田传武
Hi all,

when i upgrade GWT from 2.7.0-SNAPSHOT to 2.7.0, the code below is not 
working:
obj instanceof CollaborativeObjectImpl and
obj instanceof JsonObject

Here are my type declarations:
@JsType interface EventTarget 
@JsType interface CollaborativeObject extends EventTarget
@JsType interface CollaborativeString extends CollaborativeObject
abstract class CollaborativeObjectImpl implements CollaborativeObject
class CollaborativeStringImpl extends CollaborativeObjectImpl implements 
CollaborativeString

class JsJsonValue extends JavaScriptObject
interface JsonElement extends java.io.Serializable
interface JsonObject extends JsonElement
class JsJsonElement extends JsJsonValue implements JsonElement
final class JsJsonObject extends JsJsonElement implements JsonObject

the full source code is hosted at github:
https://github.com/goodow/realtime-store/blob/master/src/main/java/com/goodow/realtime/store/impl/JsonSerializer.java#L60-L69
 
and 
https://github.com/goodow/realtime-json/blob/master/src/main/java/com/goodow/realtime/json/JsonObject.java

Thanks for help :)

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


Custom coloring of countries in Google Maps using Fusion Table

2015-04-11 Thread mohit

http://stackoverflow.com/questions/29577659/custom-coloring-of-countries-in-google-maps-gwt

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