HI David, It appears that your source isn't in the translatable directories that would translate to javascript. Anything in project.client.* should translate into javascript. There should be two packages tld.domain.client.* and tld.domain.server. You can use the webApCreator to setup a project and import it into eclipse. I'd suggest following the project setup done by webap creator to save time in getting your code emulated, translated into javascript.
Brandon Donnelson http://gwt-examples.googlecode.com On Apr 25, 3:43 pm, 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? > > I've tried the obvious things such as <super-source path=".."/> but > naturally this doesn't work. Plus, I'd need some way to ensure that the > servlet can't see them, only my client code. Is this possible? > > - -- > ┌─── dg@cowlark.com ─────http://www.cowlark.com───── > │ > │ "I love the way Microsoft follows standards. In much the same manner > │ that fish follow migrating caribou." --- Paul Tomblin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/ > > iD8DBQFL1MWEf9E0noFvlzgRAnoUAJkBayevNozj5nmH6lohiChJGZYmxACeL53U > 2LEa90nkQMMq0B8iyVbSjNM= > =xHrg > -----END PGP SIGNATURE----- > > -- > 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 > athttp://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 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.
