I'm experiencing a little bit problem. I would like to launch my
application in development mode (known also as Hosted mode). My
current GWT version is 2.3.0.
For debug reasons, I want to inspect the generated JavaScript in my
browser but the default format is a non-human readable (obfuscated).
So, I'm trying to pass the argument -style PRETTY in my launch
configuration and I got this:
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Unknown argument: -style
Google Web Toolkit 2.3.0
DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-
string] [-blacklist blacklist-string] [-logdir directory] [-logLevel
level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort
port-number | "auto"] [-server servletContainerLauncher[:args]] [-
startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir]
module[s]
where
-noserver Prevents the embedded web server from running
-port Specifies the TCP port for the embedded web server
(defaults to 8888)
-whitelist Allows the user to browse URLs that match the
specified regexes (comma or space separated)
-blacklist Prevents the user browsing URLs that match the
specified regexes (comma or space separated)
-logdir Logs to a file in the given directory, as well as
graphically
-logLevel The level of logging detail: ERROR, WARN, INFO,
TRACE, DEBUG, SPAM, or ALL
-gen Debugging: causes normally-transient generated
types to be saved in the specified directory
-bindAddress Specifies the bind address for the code server and
web server (defaults to 127.0.0.1)
-codeServerPort Specifies the TCP port for the code server
(defaults to 9997)
-server Specify a different embedded web server to run
(must implement ServletContainerLauncher)
-startupUrl Automatically launches the specified URL
-war The directory into which deployable output files
will be written (defaults to 'war')
-deploy The directory into which deployable but not
servable output files will be written (defaults to 'WEB-INF/deploy'
under the -war directory/jar, and may be the same as the -extra
directory/jar)
-extra The directory into which extra files, not intended
for deployment, will be written
-workDir The compiler's working directory for internal use
(must be writeable; defaults to a system temp dir)
and
module[s] Specifies the name(s) of the module(s) to host
----------------------------------------------------------------------------------------------------------------------------------------------------------------
After searching on GWT repository [1], I figured out that the last
support for the argument -style was in GWT 1.6 when you were using
GwtShell. For the new classes, HostedMode and DevMode (class to use
instead), this argument isn't longer supported. Why?
So, it's possible to launch an application in development mode and get
a pretty Javascript generated (passing style argument to DevMode)?
Regards,
Hallmit
[1] Last time the -style was supported :
===>
http://code.google.com/p/google-web-toolkit/source/diff?spec=svn4262&r=4262&format=side&path=/releases/1.6/dev/core/src/com/google/gwt/dev/GWTShell.java
[2] Same problem here but no resolution?
===> http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c1a258f3ba97dc86/d9c32090c78cebbe
===> http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6e1d54bc856ec233/4948babf7e8de3b8
Hi folks,I'm experiencing a little bit problem. I would like to launch my
application in development mode (known also as Hosted mode). My
current GWT version is 2.3.0.
For debug reasons, I want to inspect the generated JavaScript in my
browser but the default format is a non-human readable (obfuscated).
So, I'm trying to pass the argument -style PRETTY in my launch
configuration and I got this:
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Unknown argument: -style
Google Web Toolkit 2.3.0
----------------------------------------------------------------------------------------------------------------------------------------------------------------
After searching on GWT repository [1], I figured out that the last
support for the argument -style was in GWT 1.6 when you were using
GwtShell. For the new classes, HostedMode and DevMode (class to use
instead), this argument isn't longer supported. Why?
So, it's possible to launch an application in development mode and get
a pretty Javascript generated (passing style argument to DevMode)?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.