On Tuesday, October 22, 2013 5:39:34 PM UTC+2, Jens wrote:
>
> The build script does not compile these source files to classes. Instead 
> it just bundles them into the jar as resource files.
>
> These are super source packages, meaning that they won't get compiled to 
> .class files but instead are bundled as source files into the jar. The GWT 
> compiler then puts them on class path before anything else so you can 
> override JVM classes with GWT specific implementations.
>

As part as a "jdepend documentation effort", it would be great to have a 
report when using these sources instead of the non-super-source ones. 
Ideally, we'd also want to teach jdepend to read into JSNI.

As far as modularization is concerned, we'd like to have dependencies 
always in the same direction: rebind->client->shared->server (or 
rebind->client->server->shared, depending on modules) so we can make a 
"client" artifact depending on a "server" artifact, or a "client" and 
"server" artifacts both depending on a "shared" artifact (but with no 
dependency between "client" and "server"). In some cases, we'll split 
packages into distinct artifacts (there are cycles at the package level, 
but not when looking only at the classes); e.g. c.g.g.user.client (Window, 
Timer, etc.) c.g.g.resources and c.g.g.junit to have a package not 
depending on I18N and other things, and another one (or several) with 
additional dependencies.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to