My GWT project has all code in the src
folder. But now I have some additional generated code which goes into a new generated
folder. I have configured my Eclipse to use this additional folder, which works fine. But when I start the GWT server, the generated code is not available for the GWT client.
On my older projects (without Google Plugin), I was starting GWT with a custom Eclipse launcher configuration. There I could specify additional source folders by adding an additional <runtimeClasspathEntry>
to the launcher XML file.
Additional source paths are also allowed for com.google.gwt.dev.Compiler
in Ant.
But how to specify additional source folders when using the Google Eclipse Plugin?
If the GPE doesn't automatically update the launch configuration, you can still update it yourself, adding the generated
folder to the classpath.