Hi Alyxandor,

Thanks for the quick response! I started a new workspace and created a
new project per your parameters. Adding a new GWT module to the
package foo.bar.test (for example TestSuper.gwt.xml) causes the
following error when running from hosted mode:

java.lang.NullPointerException
        at com.google.gwt.core.ext.linker.impl.StandardLinkerContext.<init>
(StandardLinkerContext.java:164)
        at com.google.gwt.dev.HostedMode.link(HostedMode.java:452)
        at com.google.gwt.dev.HostedMode.doStartup(HostedMode.java:353)
        at com.google.gwt.dev.HostedModeBase.startUp(HostedModeBase.java:585)
        at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:397)
        at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)

However, it compiles fine.

I'm not sure to what extent it is a problem to have hosted mode
broken, but compilation successful. I messed around with this a lot,
and am absolutely certain that this is caused by adding a new module
to foo.bar.test. This is strange because I've looked at the GWT source
code, and there are many packages that have many modules in them.
Perhaps this is a bug in the GWT Eclipse tooling. What do you think?

Thanks,

Jake

On May 14, 9:06 pm, Alyxandor <[email protected]>
wrote:
> Are you getting a "wrong package error"?  Because if you aren't, you
> should!
>
> Also, you've got to make your java.io hack-pack-age another level
> deeper...  You don't need to make two different source folders, that's
> just to minimize IDE confusions....
>
> Try this...
>
> test/
>         src/
>                 foo.bar.test/
>                         Test.gwt.xml
>                         TestSuper.gwt.xml
>                 foo.bar.test.client/
>                 foo.bar.test.server/
>                 foo.bar.test.hack.java.io/
>                         OutputStream.java
>
> Where TestSuper.gwt.xml = <module><super-source path="hack"/></module>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to