Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-19 Thread Thomas Broyer
On Friday, May 18, 2012 11:37:20 PM UTC+2, JoseM wrote: So I am assuming I would do this on the client project right? I can't sem to get it to work though. No matter what settings I put for the war I get this message: [WARN] No startup URLs supplied and no plausible ones found -- use

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-19 Thread JoseM
I didn't realize I had to still run the jetty server seperately before. I got it to work now running the jetty server using mvn jetty:start -Ddev and I just needed to right-click Run As Web Application (running on an external server) and supply the url (something like

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-19 Thread Joseph Lust
Jose, I see that you're using the *mvn* commandline param. Why not use a built in Eclipse *run configuration*? While I have not used your exact configuration, I think you should be able to achieve it with something like the below using the

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-18 Thread JoseM
Can you expand a bit more on how to get GWT DevMode to work by launching from within Eclipse? We are used to creating a GWT Application run configuration in eclipse but right now I am not sure how to get to work so that the HTML/webapp resources are available to the run configuration. On

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-18 Thread Thomas Broyer
On Friday, May 18, 2012 5:32:59 PM UTC+2, JoseM wrote: Can you expand a bit more on how to get GWT DevMode to work by launching from within Eclipse? We are used to creating a GWT Application run configuration in eclipse but right now I am not sure how to get to work so that the

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-18 Thread JoseM
So I am assuming I would do this on the client project right? I can't sem to get it to work though. No matter what settings I put for the war I get this message: [WARN] No startup URLs supplied and no plausible ones found -- use -startupUrl And when I go to the root of the jetty server the

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-11 Thread Ümit Seren
I have a question to the people who are using multi-module maven projects instead of one (I am currently developing a Spring/GWT/RequestFactory project as one big maven projects). I do much of the debugging in eclipse by starting a WTP jetty instance and then starting the GWT development

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-11 Thread Thomas Broyer
On Friday, May 11, 2012 9:09:17 AM UTC+2, Ümit Seren wrote: I have a question to the people who are using multi-module maven projects instead of one (I am currently developing a Spring/GWT/RequestFactory project as one big maven projects). I do much of the debugging in eclipse by

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-11 Thread Ümit Seren
Thanks for the feedback Thomas, I was actually following the gwt_with_maven docs at the google developers page (tough only creating one maven war project). So I think it should be quite easy to split it up. BTW. do these 3 (or 4 respectively) modules go into separate VCS repositories or do

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-11 Thread Thomas Broyer
On Friday, May 11, 2012 4:12:16 PM UTC+2, Ümit Seren wrote: Thanks for the feedback Thomas, I was actually following the gwt_with_maven docs at the google developers page (tough only creating one maven war project). So I think it should be quite easy to split it up. Yes, very easy

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-10 Thread Joseph Lust
Christien, On our project which is about the size of yours, we have an *Interfaces* Maven project. Our GWT project makes no direct references to the Services project and visa versa. This way the issue of making the sources available is a non-issue. We use Spring4GWT

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-10 Thread Christien Lomax
Hi Joseph, We are using RequestFactory for most of our calls to the services layer. We do use GWT-RPC for calls to our Solr/Lucene service, but that's it. Our projects seems to be setup correctly (with the changes suggested by Thomas), but we still have a few hiccups (highlighted in my

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-10 Thread Thomas Broyer
On Wednesday, May 9, 2012 8:09:56 PM UTC+2, Christien Lomax wrote: Hi Thomas, First, I want to say that your examples and blogs have helped us a lot over the last year! Thanks! Secondly, thanks for the super quick reply! I added the sources generation to the POMs for the Shared,

GWT, Spring when projects are split apart (client, services, persistence)

2012-05-09 Thread Christien Lomax
Hi All, We could use a bit of insight and help if anyone has a moment. We currently have a project that is quite huge (thousands of classes) including the GWT client, a spring service layer and hibernate persistence layer. We are trying to split up the project into more manageable pieces

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-09 Thread Jens
How do you compile your app? Maven? Ant? In Eclipse using GPE? You have to make sure that the GWT compiler's classpath contains all needed source files (= add src/main/java of all projects that need to be compiled by GWT to the compilers classpath). -- J. -- You received this message because

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-09 Thread Thomas Broyer
On Wednesday, May 9, 2012 3:15:29 PM UTC+2, Christien Lomax wrote: Hi All, We could use a bit of insight and help if anyone has a moment. We currently have a project that is quite huge (thousands of classes) including the GWT client, a spring service layer and hibernate persistence

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-09 Thread Christien Lomax
Hi Thomas, First, I want to say that your examples and blogs have helped us a lot over the last year! Thanks! Secondly, thanks for the super quick reply! I added the sources generation to the POMs for the Shared, Persistence and Services projects, and fixed the .class issues. However, we

Re: GWT, Spring when projects are split apart (client, services, persistence)

2012-05-09 Thread Christien Lomax
Eclipse, using m2e. All our projects are maven based. Source is specified as Thomas has outlined (source-jars added to POM). /c On Wednesday, 9 May 2012 10:46:37 UTC-3, Jens wrote: How do you compile your app? Maven? Ant? In Eclipse using GPE? You have to make sure that the GWT compiler's