Re: Creating a gwt.xml module for a 3rd Party Library
Jeff,
You wrote me that you're interested in wrapping http://commons.apache.org/math/ . This will likely be troublesome since only classes in the JRE Emulation library of GWT can be used. The reason is simply that Javascript is not Java and there are a ton of things you just can't do in JS. These sorts of things can be emulated if one wishes, and the GWT team has done so with the aforementioned classes. You can Super Source some libraries to make them available to the GWT compiler, but if a library uses functions and types that are unavailable in JS (i.e. PhantomReference) then it cannot be done in GWT.
You might be best off pulling out the math functions of interest and trying to get them compiling.
Sincerely,
Joseph
-- 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/-/lotFcz8U5iIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home