On Mon, Nov 19, 2012 at 4:54 PM, Joseph Lust <[email protected]> wrote:
> In multi module projects, it is quite nice to have the Java sources and
> *.gwt.xml files in a single package in src/main/java.

How is it related to multi-module projects?

> Spreading it out into
> the resource folder would make such projects a bit more difficult to
> maintain/navigate.

As I said, it's mostly a tooling issue. IntelliJ IDEA has a "packages"
view for instance that gives you the gwt.xml and java files in the
same treeview branch [1], and if you ask me, it's a shame that Eclipse
has no such feature (or I haven't found it).
I'm in Eclipse 99% of the time (still evaluating IDEA from time to
time, not ready to switch; I run into too many Java Swing bugs in
Linux with IDEA 11, some of them seem to be fixed in IDEA 12, but
there are still annoying ones) so I fully understand what you're
saying here, and that's the layout I've used for years.
When I ask myself what a "truly mavenish" layout should be though, I
rather put them in src/main/resources. But what matters most is that
both work and you're free to choose what works best for you (keeping
in mind that if you need/want filtering, then using src/main/resources
makes it easier). Best would be to document the pros and cons of each
approach IMO.

[1] http://www.jetbrains.com/idea/webhelp/project-tool-window.html

--
Thomas Broyer
/tɔ.ma.bʁwa.je/

-- 
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