which jar files?

21 views
Skip to first unread message

James Driscoll

unread,
Mar 15, 2012, 10:55:59 AM3/15/12
to gwt-oaut...@googlegroups.com
Hi Jason, I'm just trying to set this up on my machine. but eclipse is reporting an error for the line

         Window.alert("Got an OAuth token:\n" + token + "\n"
              + "Token expires in " + AUTH.expiresIn(req) + " ms\n");

saying
"The method expiresIn(AuthRequest) is undefined for the type Auth"

I've got gwt sdk 2.4.0 in my build path and
the jar I found with com.google.api.gwt.oauth2.client.Auth  
in was gwt-oauth2-0.1-alpha.jar
I'm guessing it's the wrong jar ?
Could you tell me which jar to include on my build path that has the expiresIn method please.

James D

Jason Hall

unread,
Mar 15, 2012, 10:57:50 AM3/15/12
to gwt-oaut...@googlegroups.com
Try v0.2-alpha, available here: http://code.google.com/p/gwt-oauth2/downloads/detail?name=gwt-oauth2-0.2-alpha.jar&can=2&q=#makechanges

If that doesn't work (I don't remember what all was in the last release), I'll have to cut a new release. There's plenty of new stuff so I should probably do this anyway.

- Jason

James Driscoll

unread,
Mar 15, 2012, 11:14:08 AM3/15/12
to gwt-oaut...@googlegroups.com
Thanks,  v0.2-alpha  appears to get rid of the problem.
Reply all
Reply to author
Forward
0 new messages