Hi all, I'm going on with my analysis of the GWT source code, and I have achieved one of my first step, that is creating a jdepend report.
However I had to exclude many classes because their "package" directive does not match the expected package. The classes affected by this problem are located in the following packages: com.google.gwt.core.translatable.* com.google.gwt.dev.jjs.intrinsic.* com.google.gwt.emul.* com.google.gwt.junit.translatable.* com.google.gwt.regexp.super.* com.google.gwt.rpc.super.* com.google.gwt.safecss.super.* com.google.gwt.safehtml.super.* com.google.gwt.typedarrays.super.* com.google.gwt.user.translatable.* com.google.gwt.validation.super.* com.google.web.bindery.autobean.super.* com.google.web.bindery.requestfactory.super.* I remember the com.google.gwt.emul.* packages are related to the JRE emulation, so in my intent of performing the dependency analysis I feel good to exclude them. How does GWT Build system (the actual one based on ANT) process the other sources? It would be long for me to dig into ant build files, which I'm not an expert of, just for understanding the impact of these sources into the "dependencies" with the full java code... FYI, I've uploaded the result here http://cristcost.net/gwtdepend/jdepend-report.html I have achieved it by moving all the java source code to a monolithic project and resolving all other dependencies with maven artifacts on central repo, with rebased dependencies using maven-shade-plugin or, for JDT and Closure Compiler, with artifact wrapped from GWT Tools. The analysis is related to commit 67fbd3cc714c81ea66c619c389692cc2d3552799 in date Mon Oct 21 20:14:36 2013 +0200 but the process is partially automated and I can repeat it easily for newer commits if someone need it (or I can publish the scripts to github). I'm doing this because I'm curious but hopefully this study will help a day in performing the work of GWT Modularization, take a look at the http://cristcost.net/gwtdepend/jdepend-report.html#cycles At last, I copy the detailed list of the packages giving their error. "com.google.gwt.core.client.impl" does not match the expected package "com.google.gwt.core.translatable.com.google.gwt.core.client.impl" "com.google.gwt.core.shared.impl" does not match the expected package "com.google.gwt.core.translatable.com.google.gwt.core.shared.impl" "com.google.gwt.junit.client" does not match the expected package "com.google.gwt.junit.translatable.com.google.gwt.junit.client" "com.google.gwt.junit.client.impl" does not match the expected package "com.google.gwt.junit.translatable.com.google.gwt.junit.client.impl" "com.google.gwt.lang" does not match the expected package "com.google.gwt.dev.jjs.intrinsic.com.google.gwt.lang" "com.google.gwt.regexp.shared" does not match the expected package "com.google.gwt.regexp.super.com.google.gwt.regexp.shared" "com.google.gwt.rpc.client.impl" does not match the expected package "com.google.gwt.rpc.super.com.google.gwt.rpc.client.impl" "com.google.gwt.safecss.shared" does not match the expected package "com.google.gwt.safecss.super.com.google.gwt.safecss.shared" "com.google.gwt.safehtml.shared" does not match the expected package "com.google.gwt.safehtml.super.com.google.gwt.safehtml.shared" "com.google.gwt.typedarrays.shared" does not match the expected package "com.google.gwt.typedarrays.super.com.google.gwt.typedarrays.shared" "com.google.gwt.user.client.rpc.core.java.util" does not match the expected package "com.google.gwt.user.translatable.com.google.gwt.user.client.rpc.core.java.util" "com.google.gwt.user.client.rpc.impl" does not match the expected package "com.google.gwt.user.translatable.com.google.gwt.user.client.rpc.impl" "com.google.gwt.validation.client" does not match the expected package "com.google.gwt.validation.super.com.google.gwt.validation.client" "com.google.gwt.validation.client.impl" does not match the expected package "com.google.gwt.validation.super.com.google.gwt.validation.client.impl" "com.google.gwt.validation.client.spi" does not match the expected package "com.google.gwt.validation.super.com.google.gwt.validation.client.spi" "com.google.web.bindery.autobean.shared" does not match the expected package "com.google.web.bindery.autobean.super.com.google.web.bindery.autobean.shared" "com.google.web.bindery.autobean.shared.impl" does not match the expected package "com.google.web.bindery.autobean.super.com.google.web.bindery.autobean.shared.impl" "com.google.web.bindery.requestfactory.shared.impl" does not match the expected package "com.google.web.bindery.requestfactory.super.com.google.web.bindery.requestfactory.shared.impl" "java.beans" does not match the expected package "com.google.gwt.emul.java.beans" "java.io" does not match the expected package "com.google.gwt.emul.java.io" "java.lang" does not match the expected package "com.google.gwt.emul.java.lang" "java.lang.annotation" does not match the expected package "com.google.gwt.emul.java.lang.annotation" "java.lang.reflect" does not match the expected package "com.google.gwt.emul.java.lang.reflect" "java.math" does not match the expected package "com.google.gwt.emul.java.math" "java.security" does not match the expected package "com.google.gwt.emul.java.security" "java.sql" does not match the expected package "com.google.gwt.emul.java.sql" "java.text" does not match the expected package "com.google.gwt.emul.java.text" "java.util" does not match the expected package "com.google.gwt.emul.java.util" "java.util.logging" does not match the expected package "com.google.gwt.emul.java.util.logging" "junit.framework" does not match the expected package "com.google.gwt.junit.translatable.junit.framework" Thank you, Cristiano -- 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.
