--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-mojo-gwt-maven-...@googlegroups.com.
To post to this group, send email to codehaus-mojo-gwt-...@googlegroups.com.
Visit this group at http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-mojo-gwt-maven-plugin-users+unsubscribe@googlegroups.com.
To post to this group, send email to codehaus-mojo-gwt-maven-plugin...@googlegroups.com.
Visit this group at http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users.
For more options, visit https://groups.google.com/groups/opt_out.
--Adrien Rivard
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-mojo-gwt-maven-...@googlegroups.com.
To post to this group, send email to codehaus-mojo-gwt-...@googlegroups.com.
Visit this group at http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users.
For more options, visit https://groups.google.com/groups/opt_out.
To post to this group, send email to codehaus-mojo-gwt-maven-plugin-us...@googlegroups.com.
Visit this group at http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users.
For more options, visit https://groups.google.com/groups/opt_out.
--Adrien Rivard
--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-mojo-gwt-maven-plugin-users+unsubscribe@googlegroups.com.
To post to this group, send email to codehaus-mojo-gwt-maven-plugin...@googlegroups.com.
Visit this group at http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users.
For more options, visit https://groups.google.com/groups/opt_out.
--Adrien Rivard
I shouldn't use that archetype?! That's what the gwt-maven-plugin docs tell me to use.
What should I be using instead?
--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-mojo-gwt-maven-...@googlegroups.com.
To post to this group, send email to codehaus-mojo-gwt-...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-mojo-gwt-maven-plugin-users+unsubscribe@googlegroups.com.
To post to this group, send email to codehaus-mojo-gwt-maven-plugin...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-mojo-gwt-maven-...@googlegroups.com.
To post to this group, send email to codehaus-mojo-gwt-...@googlegroups.com.
Thank you. I appreciate the help you and the others provide.Your modular-webapp archetype is pretty slick. Is there a way to run-codeserver with it? (I think SDM is terrific.) I tried adding<systemProperties><gwt.codeserver.port>9876</gwt.codeserver.port></systemProperties>to the configuration for tomcat7-maven-plugin in Bar-server/pom.xml but when I press my 'Dev Mode On' bookmark, I get the message "Can't find any GWT Modules on this page."
(From your comments here and in the main GWT list, it seems I should invest a weekend into learning Gradle and move my project to that. Your thoughts? I've two GWT-based products out now that were built with Ant. I'm working with Maven on new projects and prefer it over Ant. However I'm hearing definite misgivings from you re Maven.)
On Friday, February 14, 2014 9:14:13 PM UTC+1, Thad Humphries wrote:Thank you. I appreciate the help you and the others provide.Your modular-webapp archetype is pretty slick. Is there a way to run-codeserver with it? (I think SDM is terrific.) I tried adding<systemProperties><gwt.codeserver.port>9876</gwt.codeserver.port></systemProperties>to the configuration for tomcat7-maven-plugin in Bar-server/pom.xml but when I press my 'Dev Mode On' bookmark, I get the message "Can't find any GWT Modules on this page."You shouldn't need to change anything to use SDM, except you have to gwt:compile at least once (from the archetypes' instructions, remove the -Dgwt.compiler.skip from the commands, then replace "gwt:run" by "process-classes gwt:run-codeserver").I'll try to find time trying it this week-end and update the README with instructions.(I also need to update the archetypes to GWT 2.6.0)
On Saturday, February 15, 2014 7:32:06 AM UTC-5, Thomas Broyer wrote:
On Friday, February 14, 2014 9:14:13 PM UTC+1, Thad Humphries wrote:Thank you. I appreciate the help you and the others provide.Your modular-webapp archetype is pretty slick. Is there a way to run-codeserver with it? (I think SDM is terrific.) I tried adding<systemProperties><gwt.codeserver.port>9876</gwt.codeserver.port></systemProperties>to the configuration for tomcat7-maven-plugin in Bar-server/pom.xml but when I press my 'Dev Mode On' bookmark, I get the message "Can't find any GWT Modules on this page."You shouldn't need to change anything to use SDM, except you have to gwt:compile at least once (from the archetypes' instructions, remove the -Dgwt.compiler.skip from the commands, then replace "gwt:run" by "process-classes gwt:run-codeserver").I'll try to find time trying it this week-end and update the README with instructions.(I also need to update the archetypes to GWT 2.6.0)I still seem to be missing something: SDM seems to turn on, but my breakpoint doesn't break. Must I somehow have to point to port 9876?Still working entirely from the command line (I'll fret Eclipse next), and using the project created earlier with the modular-webapp artifactId (directory Bar, application App):- In pom.xml, change gwt.version property to 2.6.0 and change gwt-maven-plugin version to 2.6.0- To App.gwt.xml, add <add-linker name="xsiframe"/>- Run `mvn clean install`
- Run `cd Bar-client && mvn process-classes gwt:run-codeserver -Ddev`
- In separate terminal, run `mvn tomcat7:run -Ddev`- In Chrome (after clearing the last 24-hours of cache), go to http://localhost:8080
Here I seem to have a hitch: Instead of the customary alter about recompiling, the full app loads. Pressing my Dev Mode On bookmark gets me the "Choose module to recomiple" message. Pressing Compile refreshes the window but still no customary alert.
I open Developer Tools -> Source, but no source to debug. I select "Add Folder to Workspace" (though I don't recall doing this before) and add Bar. I set a breakpoint at line 136 in App.java (inside the onSuccess() method) and press the app's Send button. The breakpoint is not acknowledged.
On Friday, February 14, 2014 9:14:13 PM UTC+1, Thad Humphries wrote:Thank you. I appreciate the help you and the others provide.Your modular-webapp archetype is pretty slick. Is there a way to run-codeserver with it? (I think SDM is terrific.) I tried adding<systemProperties><gwt.codeserver.port>9876</gwt.codeserver.port></systemProperties>to the configuration for tomcat7-maven-plugin in Bar-server/pom.xml but when I press my 'Dev Mode On' bookmark, I get the message "Can't find any GWT Modules on this page."You shouldn't need to change anything to use SDM,
Thanks again, Thomas. The new archetype for modular-webapp works nicely and runs SuperDevMode just fine.After giving the generated project a try from the command line, I imported the top-level directory to Eclipse, and added Debug Configuration -> Maven Build for both client and server (Tomcat 7). Code server debugging is there in Chrome, and, after adding the *-server project folder to the sources for my *-server run configuration, I can debug the server side in Eclipse.I'll note for anyone using this archetype (and I strongly recommend you do) that, in my experience, if you terminate the *-client run in Eclipse (clicking the red square) the 9876 port is not freed up. I have to run `lsof -i :9876` in a terminal window and kill the PID to free the port.
Hi Thomas,about the latest archetype updates discussed above - are they deployed on sonatype ? I can see the 1.0-SNAPSHOT deployed there but not sure if the latest are pushed over there.