--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/codehaus-mojo-gwt-maven-plugin-users/-/0oL-89D5m2gJ.
To post to this group, send email to codehaus-mojo-gwt-...@googlegroups.com.
To unsubscribe from this group, send email to codehaus-mojo-gwt-maven-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users?hl=en.
Pull requests *are* issues on GitHub, so no need to create issues first (quite the contrary actually, unless you're using tools like 'hub' using the GitHub API to link pull requests to existing issues)
--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/codehaus-mojo-gwt-maven-plugin-users/-/zdWvhq9ETHIJ.
Le 6 mai 2012 14:07, "ido" a écrit :
>
> Hey Thomas,
>
> Again, thanks a lot for the archetype.
> I started playing with it a bit and I can't make it play nicely with Eclipse.
> Eclipse recognizes non of the packages as GWT project (which actually make sense).
It should apply the GWT nature automatically to the "client" module.
For the GWT RPC archetype, I'd like to make it work for the "shared" module as well but haven't really looked at it yet. This is not really needed for RF version, as the GWT nature here only brings the RPC interfaces validation and helpers.
> I've not been using multi module scheme for GWT apps till now and I would very happy to change it.
>
> Again, thanks a lot for sharing.
>
> In addition, GWT + Spring backend using request factory archetype would be awesome also :)
I don't like Spring, so it only ever will be included if someone contributes it. I'll soon add a GIN + Guice + Activities + RF archetype though.
> Thanks a lot for your major contributing for the project!
> Ido
>
> On Thursday, April 26, 2012 5:39:24 PM UTC+3, Thomas Broyer wrote:
>>
>> Hi all,
>>
>> I started using Maven 2 years ago for a project at work, and I soon started to believe that “the Maven way” of doing a GWT project is to separate client (GWT-compiled) and server (servlets, javac'd) code into separate projects.
>> I undoubtedly was influenced by the Flexmojos, talked about in Sonatype's “Maven: The Complete Reference” book: http://www.sonatype.com/books/mvnref-book/reference/flex-dev.html but on the other hand, who knows better than Sonatype how to layout/structure your Maven projects?
>>
>> In our project, I thus soon put that belief in action by creating (among many others: we have nearly 20 modules in the project) 4 modules: client, server, shared and webapp. You'd deploy your server code and then run GWT's DevMode in -noserver mode.
>> The separation between server and webapp was only so that server depends on our "api" modules only, while webapp depends on their specific implementations (for example, server would depend JAX-RS and webapp would use RestEasy as the implementation). I'm not sure it's worth it in many projects, but it helps segregating your dependencies if that's something you want to do.
>> Two years later, the project is going into production, and overall that project structure was a success (it should be noted that due to our project architecture –JNDI, extensive use of Jetty's XML configuration–, we couldn't use DevMode's embedded server; and we only use the gwt-maven-plugin for its gwt:compile goal: launching our customize Jetty server was done using a shell script, and the GWT DevMode was only ever launched from within Eclipse).
>>
>> In the last few days (being on vacations), I spent some time making a Maven archetype for that setup, with working "mvn jetty:run" and "mvn gwt:run" goals (well, I have to admit: not fully tested yet): https://github.com/tbroyer/gwt-maven-archetypes
>> I intend to add at least another archetype for projects using RequestFactory instead of GWT-RPC, and there's currently absolutely no documentation (the browser tab next to the one I'm typing this in is the “Site Generation” chapter from the “Maven: The Complete Reference” book).
>>
>> Here's how it goes (after you install it in your local repo):
>> mvn archetype:generate -DarchetypeGroupId=net.ltgt.gwt -DarchetypeArtifactId=gwt-maven-archetypes-modular-webapp -DarchetypeVersion=1.0-SNAPSHOT
>> mvn package -Pdraft
>> In one terminal window: cd server; mvn jetty:start -Pdev
>> In another (or you could use -Djetty.daemon in the previous step): cd client; mvn gwt:run -Ddev
>> Feedback, including issues and pull requests, is more than welcome!
>
> --
> You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/codehaus-mojo-gwt-maven-plugin-users/-/cdN22T82hZwJ.
> To post to this group, send email to codehaus-mojo-gwt-maven-plugin...@googlegroups.com.
> To unsubscribe from this group, send email to codehaus-mojo-gwt-maven-plugin-users+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/codehaus-mojo-gwt-maven-plugin-users/-/7zfau7mwNkMJ.
To post to this group, send email to codehaus-mojo-gwt-...@googlegroups.com.
To unsubscribe from this group, send email to codehaus-mojo-gwt-maven-...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/codehaus-mojo-gwt-maven-plugin-users/-/rOBE6TrF3tUJ.