Within GWTCompiler I tried calling setStylePretty() within both
constructors but the translated js in the temp dir still is obsfucated.
I have tried the usual things of deleting the temp dir starting again
etc.. but they all make no diff. It appears as if the compiler forces
obsfucated mode when running within a GwtTestCase. Argh shouldnt the
default be pretty/detailed mode ? At least one can examine the
translated js...
-enableassertions -Dgwt.args="-web -out www-test -style PRETTY"
To get the help message you pass -Dgwt.args="-help" to the test
runner. Here, I'll save you the trouble (scroll to the bottom):
http://www.asquare.net/gwt/usage.jsp
You also can set system property via a static initializer in the GWTTestCase:
static
{
System.setProperty("gwt.args", "-help");
}
--
Mat Gessel
http://www.asquare.net