Re: GWT External JARs and use on the Client Side

2011-01-17 Thread Eric
On Jan 14, 3:17 pm, Ben Imp benlee...@gmail.com wrote:
 And, as a minor addendum, the code in those jars can only use the
 parts of the JRE that GWT has implemented.

 Hence why I cannot have the Apache commons utils on the client, even
 though the source is available.

There is a project on Google Code to port Apache Commons-Lang
to GWT. It seems to be very quiescent, however.

http://code.google.com/p/gwt-commons-lang/

Respectfully,
Eric Jablow

-- 
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: GWT External JARs and use on the Client Side

2011-01-14 Thread nacho
You can include JARs, but those JARs must include the source code.

-- 
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: GWT External JARs and use on the Client Side

2011-01-14 Thread Ben Imp
And, as a minor addendum, the code in those jars can only use the
parts of the JRE that GWT has implemented.

Hence why I cannot have the Apache commons utils on the client, even
though the source is available.

-Ben

On Jan 14, 1:00 pm, nacho vela.igna...@gmail.com wrote:
 You can include JARs, but those JARs must include the source code.

-- 
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: GWT External JARs and use on the Client Side

2011-01-13 Thread Ben Imp
The GWT compiler requires the Java source for any class you want to
use on the client side, as part of its job is to translate that Java
code to JavaScript.

-Ben

On Jan 13, 3:20 pm, Ryan Rathsam rrath...@gmail.com wrote:
 Hi All,

 Have a quick question. We're currently trying to use some classes from
 an external jar but am running into an error at run time:
                 [ERROR] [test] - Line 34: No source code is available for type
 CLASS; did you forget to inherit a required module?
 This error seems to be firing from every place the class is used
 except on the server side. The class itself is fairly simple,
 implements Serializable and only
 has String, Integer attributes w/ the associated getters / setters. Is
 there a particular reason that the class is not allowed on the the
 client side? Is there some
 config / interface that's not setup / implemented?

 Any information / help would be much appreciated.

 Thanks!

 Ryan

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