Saturday, February 21, 2015

Re: with Eclipse

How should this work with a second project?

If I a super/ folder as source and have a gwt.xml in super/emul.gwt.xml with: 

<super-source path=""/>

Then this will not work. The super source must be in a subfolder.



Am Montag, 26. April 2010 11:32:13 UTC+2 schrieb Thomas Broyer:


On Apr 26, 12:43 am, David Given <d...@cowlark.com> 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 google-we...@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.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment