On Apr 26, 12:43 am, David Given <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm trying to add some classes to the JRE emulation used by my app.
>
> Right now I have a module in .../src/emu/Emulation.gwt.xml that uses
> <super-source> and my classes in .../src/emu/java/io/Foo.java.
>
> This works fine. However, Eclipse doesn't like it because it considers
> these classes to be in the wrong place, insisting on marking them all
> with error flags and warning me every time I launch that my project
> contains errors. And of course hosted mode doesn't use them.
>
> Is there any way to let me have the emulated classes in the root of my
> project? i.e. in .../src/java/io/Foo.java?
You can add the "emu" subfolder to the Build Path (so that package
declarations match folder hierarchy) and add an exclude filter
("Excludes: **") so that Eclipse doesn't compile the classes to your
war/WEB-INF/classes.
--
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.