RE: Restlet 2.1-Snapshot and GWT 2.3

2011-05-25 Thread Dimitri
I go back to gwt 2.2.. cool

Downloaded here:
http://google-web-toolkit.googlecode.com/files/gwt-2.2.0.zip

With eclipse: Window - Preferences - Google  Web toolkit
Add a new sdk providing the path where you extracted gwt

Right clic on your gwt project, properties - Google  Web toolkit
Select Use default SDK (gwt 2.2)

Good luck

--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Restlet-2-1-Snapshot-and-GWT-2-3-tp6385471p6404293.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2748084


GWT 2.3, SerializableTypeOracleBuilder Error

2011-05-23 Thread Dimitri
Hiii,
I'm trying to get working restlet for GWT 2.3, i m always getting the same
error, no matter what i try... 

I m using eclipse 3.6, gwt 2.3, gae 1.5 (but it's not important here, i
guess)

The following line: GroupeResourceProxy groupeResource =
GWT.create(GroupeResourceProxy.class); keep epic failing. 

I tried:
restlet jar from gwt edition 2.1m4 in a /lib folder
restlet jar from gea edition 2.1m4 in a war/WEB-INF/lib folder

And
restlet jar from gwt edition snapshot (from restlet website) in a /lib
folder
restlet jar from gea edition snapshot (from restlet website) in a
war/WEB-INF/lib folder

And
restlet jar from gwt edition snapshot (from restlet website) in a /lib
folder
restlet jar from SVN in a war/WEB-INF/lib folder

Dunno exactly what i do have to do when i read The GWT client relies only
on the core Restlet JAR (org.restlet.jar) provided in the GWT edition.

There is part of the stack trace:


com.google.gwt.event.shared.UmbrellaException: One or more exceptions
caught, see full set in UmbrellaException#getCauses
at
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
at
com.google.gwt.user.client.impl.HistoryImpl.fireEvent(HistoryImpl.java:76)
at
com.google.gwt.event.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java:43)


---

Caused by: java.lang.RuntimeException: Deferred binding failed for
'com.pizzaroundme.admin.dtos.GroupeResourceProxy' (did you forget to inherit
a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at
com.pizzaroundme.admin.client.PizzAroundMe.changePage(PizzAroundMe.java:36)

---

Caused by: java.lang.NoSuchMethodError:
com.google.gwt.user.rebind.rpc.SerializableTypeOracleBuilder.lt;initgt;(Lcom/google/gwt/core/ext/TreeLogger;Lcom/google/gwt/core/ext/PropertyOracle;Lcom/google/gwt/core/ext/typeinfo/TypeOracle;)V
at
org.restlet.rebind.ClientProxyGenerator.generateSerializers(ClientProxyGenerator.java:528)
at
org.restlet.rebind.ClientProxyGenerator.generateProxy(ClientProxyGenerator.java:463)


Thank you for enlighting me !! 


--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/GWT-2-3-SerializableTypeOracleBuilder-Error-tp6396018p6396018.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2746033


RE: Restlet 2.1-Snapshot and GWT 2.3

2011-05-23 Thread Dimitri
I found a post where Thierry says to use the last sources from svn. 

I tried, but no success.

I tried: 
restlet jar from gwt edition 2.1m4 in a /lib folder 
restlet jar from gea edition 2.1m4 in a war/WEB-INF/lib folder 

And 
restlet jar from gwt edition snapshot (from restlet website) in a /lib
folder 
restlet jar from gea edition snapshot (from restlet website) in a
war/WEB-INF/lib folder 

And 
restlet jar from gwt edition snapshot (from restlet website) in a /lib
folder 
restlet jar from SVN in a war/WEB-INF/lib folder 

Dunno exactly what i do have to do when i read The GWT client relies only
on the core Restlet JAR (org.restlet.jar) provided in the GWT edition. 

There is part of the stack trace: 


com.google.gwt.event.shared.UmbrellaException: One or more exceptions
caught, see full set in UmbrellaException#getCauses 
at
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129) 
at
com.google.gwt.user.client.impl.HistoryImpl.fireEvent(HistoryImpl.java:76) 
at
com.google.gwt.event.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java:43)
 


--- 

Caused by: java.lang.RuntimeException: Deferred binding failed for
'com.pizzaroundme.admin.dtos.GroupeResourceProxy' (did you forget to inherit
a required module?) 
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53) 
at com.google.gwt.core.client.GWT.create(GWT.java:98) 
at
com.pizzaroundme.admin.client.PizzAroundMe.changePage(PizzAroundMe.java:36) 

--- 

Caused by: java.lang.NoSuchMethodError:
com.google.gwt.user.rebind.rpc.SerializableTypeOracleBuilder.init(Lcom/google/gwt/core/ext/TreeLogger;Lcom/google/gwt/core/ext/PropertyOracle;Lcom/google/gwt/core/ext/typeinfo/TypeOracle;)V
 
at
org.restlet.rebind.ClientProxyGenerator.generateSerializers(ClientProxyGenerator.java:528)
 
at
org.restlet.rebind.ClientProxyGenerator.generateProxy(ClientProxyGenerator.java:463)
 


Thank you for enlighting me !! 

--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Restlet-2-1-Snapshot-and-GWT-2-3-tp6385471p6396337.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2746061


Re: ClientProxy dependency not found

2011-05-21 Thread Dimitri
I m still unable to get this working, here are some details:

I have a GAE project, with org.restlet.jar from GAE edition

I have a GWT client (and only client) so i added the org.restlet.jar from
the GWT edition in a lib folder.
I think i don't need the org.restlet.jar from GAE edition here, right ?

It does compile right with all org.restlet.client.resource.XXX imports

But i have the following error when running the app:
[ERROR] [xxx_admin] - Line 9: No source code is available for type
org.restlet.client.resource.ClientProxy; did you forget to inherit a
required module?

What do i misunderstood ?
Thank you

--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/ClientProxy-dependency-not-found-tp6370136p6389339.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2743300


ClientProxy dependency not found

2011-05-16 Thread Dimitri
Hi,
I have been using restlest with android, so far, so good.
Though i have a problem with the ClientProxy class for the GWT integration,
i can't find where it should come from... 

Thx you for answering.

Dimitri.

--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/ClientProxy-dependency-not-found-tp6370136p6370136.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2738313