Just to follow up on this ... this seems to be the eclipse plugin,
I've managed to get host mode running from the command line and it
works.
The weird thing is, it DOES work with a small war project that I
built, deployed on jboss and ran the hosted mode -noserver option from
eclipse via the plugin. Our more complicated maven built war (part of
a larger ear) doesn't and it seems to classpath issue but I don't know
how to debug the eclipse plugin.
I've added the command line startup command into my eclipse run so I
can debug but it would be better if the plugin worked :(
I did notice that the usage for plugin was different from commandline
options so there could well be a bug here (i.e. theres a possiblity
I'm not going mad). GWTShell vs HostedMode ??
Unknown argument: -blah
Google Web Toolkit 1.7.0
GWTShell [-noserver] [-port port-number | "auto"] [-whitelist
whitelist-string] [-blacklist blacklist-string] [-logLevel level] [-
gen dir] [-style style] [-ea] [-out dir] [url]
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)
-logLevel The level of logging detail: ERROR, WARN, INFO, TRACE,
DEBUG, SPAM, or ALL
-gen The directory into which generated files will be written
for review
-style Script output style: OBF[USCATED], PRETTY, or DETAILED
(defaults to OBF)
-ea Debugging: causes the compiled output to check assert
statements.
-out The directory to write output files into (defaults to
current)
and
url Automatically launches the specified URL
versus
java -cp gwt-dev-<your platform here>.jar
com.google.gwt.dev.HostedMode
Missing required argument 'module[s]'
Google Web Toolkit 1.7.0
HostedMode [-noserver] [-port port-number | "auto"] [-whitelist
whitelist-string
] [-blacklist blacklist-string] [-logLevel level] [-gen dir] [-style
style] [-ea
] [-server servletContainerLauncher] [-startupUrl url] [-war dir] [-
extra dir] [
-workDir dir] [-localWorkers count] 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)
-logLevel The level of logging detail: ERROR, WARN, INFO,
TRACE, DEBUG, SPAM, or ALL
-gen The directory into which generated files will be
written for review
-style Script output style: OBF[USCATED], PRETTY, or
DETAILED (defaults to OBF)
-ea Debugging: causes the compiled output to check assert
statements.
-server Specifies a different embedded web server to run
(must implement ServletContainerLauncher)
-startupUrl Automatically launches the specified URL
-war The war directory to write output files into
(defaults to war)
-extra The directory into which extra, non-deployed files
will be written
-workDir The compiler work directory (must be writeable;
defaults to a system temp dir)
-localWorkers Specifies the number of local workers to use when
compiling permutations
and
module[s] Specifies the name(s) of the module(s) to host
On Oct 7, 11:02 am, mike_mac <
michael.mac...@gmail.com> wrote:
> Hi ...
> I'm trying to get hosted mode debugging running using Jboss as the
> server instead of tomcat and I can't get it working ...
>
> I've followed the instructions here ...
http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.h...