mvn gwt:debug
. This seems to start up okay and I see:
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ xxx-gui-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 76 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ xxx-gui-client ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< gwt-maven-plugin:2.7.0:debug (default-cli) < process-classes @ xxx-gui-client <<<
[INFO] --- gwt-maven-plugin:2.7.0:debug (default-cli) @ xxx-gui-client ---
[INFO] starting debugger on port 8000 in suspend mode
[INFO] create exploded Jetty webapp in /Users/xxx/Workspace/xxx/xxx/xxx-gui/client/target/xxx-client-5.7.0-SNAPSHOT
[INFO] Listening for transport dt_socket at address: 8000
Is Dev Mode not seeing my modules? When I run
mvn get:run-codeserver
I see similar output, but it finds all the classes it needs to compile:
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ xxx-gui-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 76 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ xxx-gui-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1335 source files to /Users/xxx/Workspace/xxx/xxx/xxx-gui/client/target/xxx-client-5.7.0-SNAPSHOT/WEB-INF/classes
[INFO]
[INFO] <<< gwt-maven-plugin:2.7.0:run-codeserver (default-cli) < process-classes @ xxx-gui-client <<<
[INFO]
[INFO] --- gwt-maven-plugin:2.7.0:run-codeserver (default-cli) @ xxx-gui-client ---
[INFO] Turning off precompile in incremental mode.
[INFO] Super Dev Mode starting up
What's the link between that and my Tomcat instance? How do I "activate" dev mode in the browser? I see no red refresh button, there are no compilations happening in the code server terminal. What am I missing? Do I need an IDE to get a debugger going or do I need to tell Chrome to look at the code server? Would I be better served moving away from the older gwt-mvn-plugin and using tboyer's newer version?
I feel like this step:
Compile your application once using the ant build target. Ideally, you can use GWT's -war option to generate output files directly into your external server's static content folder. Otherwise, you'll need to copy the GWT output folder from war/<moduleName>
to your external server's static content.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment