On 27 avr, 01:17, Jake <[email protected]> wrote:
> OK, so I read through the docs you linked to, and also took a look at
> the way you were using super-source in Emulation.gwt.xml in gwt-in-the-
> air:
>
> http://code.google.com/p/gwt-in-the-air/source/browse/trunk/super/net...
>
> I attempted to do the same thing with extended_JCL.gwt.xml, which
> pulls in the custom OutputStream class, as well as other resources:
>
> http://dev.eclipse.org/viewcvs/index.cgi/e4/org.eclipse.e4.swt/bundle...
>
> I changed it to:
>
> <module>
> <source path="com/ibm/icu/text"/>
If those classes are emulated versions of "pure Java" APIs, you should
also put them in <super-source> (and given that you declare the
current package/path as a <super-source>, they actually are already;
so: just remove this line)
> <super-source/>
> </module>
>
> I'm now getting error messages like this:
>
> [java] [ERROR] Errors in 'jar:file:/C:/workspace-gsoc/
> DojoResources/gwt/gwt-user.jar!/com/google/gwt/emul/java/util/
> Iterator.java'
> [java] [ERROR] Line 16: The declared package "java.util"
> does not match the expected package "com.google.gwt.emul.java.util"
You must not compile the emulation classes using javac, only when
processed by the GWTCompiler (1.5) or Compiler (1.6) tools or the
hosted mode.
(GWT uses two "source trees" to make it clearer and easier to manage:
src and super; super is added to the classpath only when using
GWTCompiler/Compiler or GWTShell/HostedMode)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---