If you run jettyDraftWar which is probably of type JettyRunWar you must 
configure the jetty plugin. If you run cargo then you must configure jetty 
through the cargo plugin.

For the cargo plugin you configure the port using cargo { port = 8888 ... } 
and for the jetty plugin you configure the port using "jettyRun.httpPort = 
8888" or "jettyRun { httpPort = 8888 }".

In general you are not forced to use both Jetty plugin and cargo plugin. I 
guess the SDM example just wants to show that both is possible. Also I 
think that the gwt-gradle-plugin does no additional magic behind the scenes 
when running jetty or tomcat or anything else to serve your app. The 
gwt-gradle-plugin only starts SDM and thats all. 

How you serve your app and which plugin you choose to do so is up to you.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to