Re: gwt 2.3 + spring 2 + maven 2

2011-09-02 Thread Mike Chai
Thanks for the responses. To clarify, I want to use GWT to build an
interface for an existing Java backend that is using Spring.
Integration using the STS isn't needed but I'll probably do it
anyways. Is there a way to do this without using hackish methods?

On Aug 18, 6:31 am, Giuseppe La Scaleia
giuseppe.lascal...@geosdi.org wrote:
 I don't use Windows i use only Ubuntu or Mac.
 So you say to deploy the war under tomcat??
 Regards Giuseppe

 2011/8/18 Juan Pablo Gardella gardellajuanpa...@gmail.com







  Nop. It's works in dev mode inside eclipse. I don't use mvn jetty:run so
  don't make run in this manner. Yes is slow in dev mode. If you use Windows
  with IE is the fastest browser in dev mode.

  Juan

  2011/8/18 Giuseppe La Scaleia giuseppe.lascal...@geosdi.org

  With mvn jetty:run doesn't work. In hosted mode is very slow.
  Regards Giuseppe

  2011/8/18 Juan Pablo Gardella gardellajuanpa...@gmail.com

  Seehttps://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home.

  2011/8/17 Daniel Guggi daniel.gu...@gmail.com

  @spring you may have a look here (requestfactory + spring3 integration):

 http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-s...

  here an example pom (i use maven 3)

  ?xml version=1.0 encoding=UTF-8?
  project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
      xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;

      !-- POM file generated with GWT webAppCreator --
      modelVersion4.0.0/modelVersion
      groupIdgwtapp/groupId
      artifactIdGwtApp/artifactId
      packagingwar/packaging
      version1.0-SNAPSHOT/version
      namegwtapp.GwtApp/name

      properties
          !-- Convenience property to set the GWT version --
          gwtVersion2.3.0/gwtVersion
          !-- GWT needs at least java 1.5 --
          maven.compiler.source1.6/maven.compiler.source
          maven.compiler.target1.6/maven.compiler.target
      /properties

      dependencies
          dependency
              groupIdcom.google.gwt/groupId
              artifactIdgwt-servlet/artifactId
              version${gwtVersion}/version
              scoperuntime/scope
          /dependency
          dependency
              groupIdcom.google.gwt/groupId
              artifactIdgwt-user/artifactId
              version${gwtVersion}/version
              scopeprovided/scope
          /dependency
          dependency
              groupIdcom.google.gwt/groupId
              artifactIdgwt-dev/artifactId
              version${gwtVersion}/version
              scopetest/scope
          /dependency
          dependency
              groupIdcom.google.gwt.inject/groupId
              artifactIdgin/artifactId
              version1.5.0/version
          /dependency
          dependency
              groupIdjunit/groupId
              artifactIdjunit/artifactId
              version4.8.1/version
              scopetest/scope
          /dependency
          dependency
              groupIdjavax.validation/groupId
              artifactIdvalidation-api/artifactId
              version1.0.0.GA/version
              scopeprovided/scope
          /dependency
          dependency
              groupIdjavax.validation/groupId
              artifactIdvalidation-api/artifactId
              version1.0.0.GA/version
              classifiersources/classifier
              scopeprovided/scope
          /dependency
      /dependencies

      build
          !-- Generate compiled stuff in the folder used for developing
  mode --
          outputDirectorytarget/www/WEB-INF/classes/outputDirectory

          plugins

              !-- GWT Maven Plugin --
              plugin
                  groupIdorg.codehaus.mojo/groupId
                  artifactIdgwt-maven-plugin/artifactId
                  version2.2.0/version
                  dependencies
                      dependency
                          groupIdcom.google.gwt/groupId
                          artifactIdgwt-user/artifactId
                          version${gwtVersion}/version
                      /dependency
                      dependency
                          groupIdcom.google.gwt/groupId
                          artifactIdgwt-dev/artifactId
                          version${gwtVersion}/version
                      /dependency
                      dependency
                          groupIdcom.google.gwt/groupId
                          artifactIdgwt-servlet/artifactId
                          version${gwtVersion}/version
                      /dependency
                  /dependencies
                  !-- JS is only needed in the package phase, this speeds
  up testing --
                  executions
                      execution
                          phaseprepare-package/phase
                          goals
                              goalcompile/goal
                          /goals
                      

Re: gwt 2.3 + spring 2 + maven 2

2011-08-18 Thread Juan Pablo Gardella
See https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home.

2011/8/17 Daniel Guggi daniel.gu...@gmail.com

 @spring you may have a look here (requestfactory + spring3 integration):

 http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/

 here an example pom (i use maven 3)

 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;

 !-- POM file generated with GWT webAppCreator --
 modelVersion4.0.0/modelVersion
 groupIdgwtapp/groupId
 artifactIdGwtApp/artifactId
 packagingwar/packaging
 version1.0-SNAPSHOT/version
 namegwtapp.GwtApp/name

 properties
 !-- Convenience property to set the GWT version --
 gwtVersion2.3.0/gwtVersion
 !-- GWT needs at least java 1.5 --
 maven.compiler.source1.6/maven.compiler.source
 maven.compiler.target1.6/maven.compiler.target
 /properties

 dependencies
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-servlet/artifactId
 version${gwtVersion}/version
 scoperuntime/scope
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-user/artifactId
 version${gwtVersion}/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-dev/artifactId
 version${gwtVersion}/version
 scopetest/scope
 /dependency
 dependency
 groupIdcom.google.gwt.inject/groupId
 artifactIdgin/artifactId
 version1.5.0/version
 /dependency
 dependency
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version4.8.1/version
 scopetest/scope
 /dependency
 dependency
 groupIdjavax.validation/groupId
 artifactIdvalidation-api/artifactId
 version1.0.0.GA/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdjavax.validation/groupId
 artifactIdvalidation-api/artifactId
 version1.0.0.GA/version
 classifiersources/classifier
 scopeprovided/scope
 /dependency
 /dependencies

 build
 !-- Generate compiled stuff in the folder used for developing mode
 --
 outputDirectorytarget/www/WEB-INF/classes/outputDirectory

 plugins

 !-- GWT Maven Plugin --
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdgwt-maven-plugin/artifactId
 version2.2.0/version
 dependencies
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-user/artifactId
 version${gwtVersion}/version
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-dev/artifactId
 version${gwtVersion}/version
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-servlet/artifactId
 version${gwtVersion}/version
 /dependency
 /dependencies
 !-- JS is only needed in the package phase, this speeds up
 testing --
 executions
 execution
 phaseprepare-package/phase
 goals
 goalcompile/goal
 /goals
 /execution
 /executions
 !-- Plugin configuration. There are many available
 options, see gwt-maven-plugin
 documentation at codehaus.org --
 configuration
 !-- URL that should be automatically opened in the GWT
 shell (gwt:run). --
 runTargetGwtApp.html/runTarget
 !-- Location of the develop-mode web application
 structure (gwt:run). --
 hostedWebapptarget/www/hostedWebapp
 !-- Ask GWT to create the Story of Your Compile (SOYC)
 (gwt:compile) --
 compileReporttrue/compileReport
 /configuration
 /plugin

 !-- Add source folders to test classpath in order to run
 gwt-tests as
 normal junit-tests --
 plugin
 artifactIdmaven-surefire-plugin/artifactId
 version2.5/version
 configuration
 

Re: gwt 2.3 + spring 2 + maven 2

2011-08-18 Thread Giuseppe La Scaleia
With mvn jetty:run doesn't work. In hosted mode is very slow.
Regards Giuseppe

2011/8/18 Juan Pablo Gardella gardellajuanpa...@gmail.com

 See https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home.


 2011/8/17 Daniel Guggi daniel.gu...@gmail.com

 @spring you may have a look here (requestfactory + spring3 integration):

 http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/

 here an example pom (i use maven 3)

 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;

 !-- POM file generated with GWT webAppCreator --
 modelVersion4.0.0/modelVersion
 groupIdgwtapp/groupId
 artifactIdGwtApp/artifactId
 packagingwar/packaging
 version1.0-SNAPSHOT/version
 namegwtapp.GwtApp/name

 properties
 !-- Convenience property to set the GWT version --
 gwtVersion2.3.0/gwtVersion
 !-- GWT needs at least java 1.5 --
 maven.compiler.source1.6/maven.compiler.source
 maven.compiler.target1.6/maven.compiler.target
 /properties

 dependencies
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-servlet/artifactId
 version${gwtVersion}/version
 scoperuntime/scope
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-user/artifactId
 version${gwtVersion}/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-dev/artifactId
 version${gwtVersion}/version
 scopetest/scope
 /dependency
 dependency
 groupIdcom.google.gwt.inject/groupId
 artifactIdgin/artifactId
 version1.5.0/version
 /dependency
 dependency
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version4.8.1/version
 scopetest/scope
 /dependency
 dependency
 groupIdjavax.validation/groupId
 artifactIdvalidation-api/artifactId
 version1.0.0.GA/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdjavax.validation/groupId
 artifactIdvalidation-api/artifactId
 version1.0.0.GA/version
 classifiersources/classifier
 scopeprovided/scope
 /dependency
 /dependencies

 build
 !-- Generate compiled stuff in the folder used for developing
 mode --
 outputDirectorytarget/www/WEB-INF/classes/outputDirectory

 plugins

 !-- GWT Maven Plugin --
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdgwt-maven-plugin/artifactId
 version2.2.0/version
 dependencies
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-user/artifactId
 version${gwtVersion}/version
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-dev/artifactId
 version${gwtVersion}/version
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-servlet/artifactId
 version${gwtVersion}/version
 /dependency
 /dependencies
 !-- JS is only needed in the package phase, this speeds
 up testing --
 executions
 execution
 phaseprepare-package/phase
 goals
 goalcompile/goal
 /goals
 /execution
 /executions
 !-- Plugin configuration. There are many available
 options, see gwt-maven-plugin
 documentation at codehaus.org --
 configuration
 !-- URL that should be automatically opened in the
 GWT shell (gwt:run). --
 runTargetGwtApp.html/runTarget
 !-- Location of the develop-mode web application
 structure (gwt:run). --
 hostedWebapptarget/www/hostedWebapp
 !-- Ask GWT to create the Story of Your Compile
 (SOYC) (gwt:compile) --
 compileReporttrue/compileReport
 /configuration
 /plugin

 !-- Add source folders to test classpath in order to run
 gwt-tests as
 normal junit-tests --
 plugin

Re: gwt 2.3 + spring 2 + maven 2

2011-08-18 Thread Juan Pablo Gardella
Nop. It's works in dev mode inside eclipse. I don't use mvn jetty:run so
don't make run in this manner. Yes is slow in dev mode. If you use Windows
with IE is the fastest browser in dev mode.

Juan

2011/8/18 Giuseppe La Scaleia giuseppe.lascal...@geosdi.org

 With mvn jetty:run doesn't work. In hosted mode is very slow.
 Regards Giuseppe

 2011/8/18 Juan Pablo Gardella gardellajuanpa...@gmail.com

 See https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home.


 2011/8/17 Daniel Guggi daniel.gu...@gmail.com

 @spring you may have a look here (requestfactory + spring3 integration):

 http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/

 here an example pom (i use maven 3)

 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;

 !-- POM file generated with GWT webAppCreator --
 modelVersion4.0.0/modelVersion
 groupIdgwtapp/groupId
 artifactIdGwtApp/artifactId
 packagingwar/packaging
 version1.0-SNAPSHOT/version
 namegwtapp.GwtApp/name

 properties
 !-- Convenience property to set the GWT version --
 gwtVersion2.3.0/gwtVersion
 !-- GWT needs at least java 1.5 --
 maven.compiler.source1.6/maven.compiler.source
 maven.compiler.target1.6/maven.compiler.target
 /properties

 dependencies
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-servlet/artifactId
 version${gwtVersion}/version
 scoperuntime/scope
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-user/artifactId
 version${gwtVersion}/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-dev/artifactId
 version${gwtVersion}/version
 scopetest/scope
 /dependency
 dependency
 groupIdcom.google.gwt.inject/groupId
 artifactIdgin/artifactId
 version1.5.0/version
 /dependency
 dependency
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version4.8.1/version
 scopetest/scope
 /dependency
 dependency
 groupIdjavax.validation/groupId
 artifactIdvalidation-api/artifactId
 version1.0.0.GA/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdjavax.validation/groupId
 artifactIdvalidation-api/artifactId
 version1.0.0.GA/version
 classifiersources/classifier
 scopeprovided/scope
 /dependency
 /dependencies

 build
 !-- Generate compiled stuff in the folder used for developing
 mode --
 outputDirectorytarget/www/WEB-INF/classes/outputDirectory

 plugins

 !-- GWT Maven Plugin --
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdgwt-maven-plugin/artifactId
 version2.2.0/version
 dependencies
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-user/artifactId
 version${gwtVersion}/version
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-dev/artifactId
 version${gwtVersion}/version
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-servlet/artifactId
 version${gwtVersion}/version
 /dependency
 /dependencies
 !-- JS is only needed in the package phase, this speeds
 up testing --
 executions
 execution
 phaseprepare-package/phase
 goals
 goalcompile/goal
 /goals
 /execution
 /executions
 !-- Plugin configuration. There are many available
 options, see gwt-maven-plugin
 documentation at codehaus.org --
 configuration
 !-- URL that should be automatically opened in the
 GWT shell (gwt:run). --
 runTargetGwtApp.html/runTarget
 !-- Location of the develop-mode web application
 structure (gwt:run). --
 hostedWebapptarget/www/hostedWebapp
 !-- Ask GWT to create the Story of Your Compile
 (SOYC) 

Re: gwt 2.3 + spring 2 + maven 2

2011-08-18 Thread Juan Pablo Gardella
Nop. It's works in dev mode inside eclipse. I don't use mvn jetty:run so
don't make run in this manner. Yes is slow in dev mode. If you use Windows
with IE is the fastest browser in dev mode.

Juan

2011/8/18 Giuseppe La Scaleia giuseppe.lascal...@geosdi.org

 With mvn jetty:run doesn't work. In hosted mode is very slow.
 Regards Giuseppe

 2011/8/18 Juan Pablo Gardella gardellajuanpa...@gmail.com

 See https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home.


 2011/8/17 Daniel Guggi daniel.gu...@gmail.com

 @spring you may have a look here (requestfactory + spring3 integration):

 http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/

 here an example pom (i use maven 3)

 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;

 !-- POM file generated with GWT webAppCreator --
 modelVersion4.0.0/modelVersion
 groupIdgwtapp/groupId
 artifactIdGwtApp/artifactId
 packagingwar/packaging
 version1.0-SNAPSHOT/version
 namegwtapp.GwtApp/name

 properties
 !-- Convenience property to set the GWT version --
 gwtVersion2.3.0/gwtVersion
 !-- GWT needs at least java 1.5 --
 maven.compiler.source1.6/maven.compiler.source
 maven.compiler.target1.6/maven.compiler.target
 /properties

 dependencies
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-servlet/artifactId
 version${gwtVersion}/version
 scoperuntime/scope
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-user/artifactId
 version${gwtVersion}/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-dev/artifactId
 version${gwtVersion}/version
 scopetest/scope
 /dependency
 dependency
 groupIdcom.google.gwt.inject/groupId
 artifactIdgin/artifactId
 version1.5.0/version
 /dependency
 dependency
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version4.8.1/version
 scopetest/scope
 /dependency
 dependency
 groupIdjavax.validation/groupId
 artifactIdvalidation-api/artifactId
 version1.0.0.GA/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdjavax.validation/groupId
 artifactIdvalidation-api/artifactId
 version1.0.0.GA/version
 classifiersources/classifier
 scopeprovided/scope
 /dependency
 /dependencies

 build
 !-- Generate compiled stuff in the folder used for developing
 mode --
 outputDirectorytarget/www/WEB-INF/classes/outputDirectory

 plugins

 !-- GWT Maven Plugin --
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdgwt-maven-plugin/artifactId
 version2.2.0/version
 dependencies
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-user/artifactId
 version${gwtVersion}/version
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-dev/artifactId
 version${gwtVersion}/version
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-servlet/artifactId
 version${gwtVersion}/version
 /dependency
 /dependencies
 !-- JS is only needed in the package phase, this speeds
 up testing --
 executions
 execution
 phaseprepare-package/phase
 goals
 goalcompile/goal
 /goals
 /execution
 /executions
 !-- Plugin configuration. There are many available
 options, see gwt-maven-plugin
 documentation at codehaus.org --
 configuration
 !-- URL that should be automatically opened in the
 GWT shell (gwt:run). --
 runTargetGwtApp.html/runTarget
 !-- Location of the develop-mode web application
 structure (gwt:run). --
 hostedWebapptarget/www/hostedWebapp
 !-- Ask GWT to create the Story of Your Compile
 (SOYC) 

Re: gwt 2.3 + spring 2 + maven 2

2011-08-18 Thread Giuseppe La Scaleia
I don't use Windows i use only Ubuntu or Mac.
So you say to deploy the war under tomcat??
Regards Giuseppe

2011/8/18 Juan Pablo Gardella gardellajuanpa...@gmail.com

 Nop. It's works in dev mode inside eclipse. I don't use mvn jetty:run so
 don't make run in this manner. Yes is slow in dev mode. If you use Windows
 with IE is the fastest browser in dev mode.

 Juan

 2011/8/18 Giuseppe La Scaleia giuseppe.lascal...@geosdi.org

 With mvn jetty:run doesn't work. In hosted mode is very slow.
 Regards Giuseppe

 2011/8/18 Juan Pablo Gardella gardellajuanpa...@gmail.com

 See https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home.


 2011/8/17 Daniel Guggi daniel.gu...@gmail.com

 @spring you may have a look here (requestfactory + spring3 integration):

 http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/

 here an example pom (i use maven 3)

 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;

 !-- POM file generated with GWT webAppCreator --
 modelVersion4.0.0/modelVersion
 groupIdgwtapp/groupId
 artifactIdGwtApp/artifactId
 packagingwar/packaging
 version1.0-SNAPSHOT/version
 namegwtapp.GwtApp/name

 properties
 !-- Convenience property to set the GWT version --
 gwtVersion2.3.0/gwtVersion
 !-- GWT needs at least java 1.5 --
 maven.compiler.source1.6/maven.compiler.source
 maven.compiler.target1.6/maven.compiler.target
 /properties

 dependencies
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-servlet/artifactId
 version${gwtVersion}/version
 scoperuntime/scope
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-user/artifactId
 version${gwtVersion}/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-dev/artifactId
 version${gwtVersion}/version
 scopetest/scope
 /dependency
 dependency
 groupIdcom.google.gwt.inject/groupId
 artifactIdgin/artifactId
 version1.5.0/version
 /dependency
 dependency
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version4.8.1/version
 scopetest/scope
 /dependency
 dependency
 groupIdjavax.validation/groupId
 artifactIdvalidation-api/artifactId
 version1.0.0.GA/version
 scopeprovided/scope
 /dependency
 dependency
 groupIdjavax.validation/groupId
 artifactIdvalidation-api/artifactId
 version1.0.0.GA/version
 classifiersources/classifier
 scopeprovided/scope
 /dependency
 /dependencies

 build
 !-- Generate compiled stuff in the folder used for developing
 mode --
 outputDirectorytarget/www/WEB-INF/classes/outputDirectory

 plugins

 !-- GWT Maven Plugin --
 plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdgwt-maven-plugin/artifactId
 version2.2.0/version
 dependencies
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-user/artifactId
 version${gwtVersion}/version
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-dev/artifactId
 version${gwtVersion}/version
 /dependency
 dependency
 groupIdcom.google.gwt/groupId
 artifactIdgwt-servlet/artifactId
 version${gwtVersion}/version
 /dependency
 /dependencies
 !-- JS is only needed in the package phase, this speeds
 up testing --
 executions
 execution
 phaseprepare-package/phase
 goals
 goalcompile/goal
 /goals
 /execution
 /executions
 !-- Plugin configuration. There are many available
 options, see gwt-maven-plugin
 documentation at codehaus.org --
 configuration
 !-- URL that should be automatically opened in the
 GWT shell (gwt:run). --
 runTargetGwtApp.html/runTarget
 !-- Location of the develop-mode web 

gwt 2.3 + spring 2 + maven 2

2011-08-17 Thread Mike Chai
I'm new developing web applications with Java, so maybe this is
implicitly known in the community but upon trying to search for
integration for these 3 technologies I couldn't find a very
straightforward answer. Some information is dated back to 2008ish
where some people created glue to integrate gwt and spring, but I
found some news on spring saying something about google integration
into spring.

Some of the tools also seem to be depreciated and redirect the user to
codehaus' maven plugin, but on first look I can't find a download on
it and it just links to google's eclipse plugin.

tl; dr: what's the current standard for integrating these 3
technologies?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt 2.3 + spring 2 + maven 2

2011-08-17 Thread Y2i
There is some documentation on GWT site on GWT, SpringSource and Roo 
integration
http://code.google.com/webtoolkit/doc/latest/tutorial/roo-sts.html

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/sCDanQYeZ-cJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt 2.3 + spring 2 + maven 2

2011-08-17 Thread Daniel Guggi
@spring you may have a look here (requestfactory + spring3 integration):
http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/

here an example pom (i use maven 3)

?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;

!-- POM file generated with GWT webAppCreator --
modelVersion4.0.0/modelVersion
groupIdgwtapp/groupId
artifactIdGwtApp/artifactId
packagingwar/packaging
version1.0-SNAPSHOT/version
namegwtapp.GwtApp/name

properties
!-- Convenience property to set the GWT version --
gwtVersion2.3.0/gwtVersion
!-- GWT needs at least java 1.5 --
maven.compiler.source1.6/maven.compiler.source
maven.compiler.target1.6/maven.compiler.target
/properties

dependencies
dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-servlet/artifactId
version${gwtVersion}/version
scoperuntime/scope
/dependency
dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-user/artifactId
version${gwtVersion}/version
scopeprovided/scope
/dependency
dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-dev/artifactId
version${gwtVersion}/version
scopetest/scope
/dependency
dependency
groupIdcom.google.gwt.inject/groupId
artifactIdgin/artifactId
version1.5.0/version
/dependency
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version4.8.1/version
scopetest/scope
/dependency
dependency
groupIdjavax.validation/groupId
artifactIdvalidation-api/artifactId
version1.0.0.GA/version
scopeprovided/scope
/dependency
dependency
groupIdjavax.validation/groupId
artifactIdvalidation-api/artifactId
version1.0.0.GA/version
classifiersources/classifier
scopeprovided/scope
/dependency
/dependencies

build
!-- Generate compiled stuff in the folder used for developing mode
--
outputDirectorytarget/www/WEB-INF/classes/outputDirectory

plugins

!-- GWT Maven Plugin --
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdgwt-maven-plugin/artifactId
version2.2.0/version
dependencies
dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-user/artifactId
version${gwtVersion}/version
/dependency
dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-dev/artifactId
version${gwtVersion}/version
/dependency
dependency
groupIdcom.google.gwt/groupId
artifactIdgwt-servlet/artifactId
version${gwtVersion}/version
/dependency
/dependencies
!-- JS is only needed in the package phase, this speeds up
testing --
executions
execution
phaseprepare-package/phase
goals
goalcompile/goal
/goals
/execution
/executions
!-- Plugin configuration. There are many available options,
see gwt-maven-plugin
documentation at codehaus.org --
configuration
!-- URL that should be automatically opened in the GWT
shell (gwt:run). --
runTargetGwtApp.html/runTarget
!-- Location of the develop-mode web application
structure (gwt:run). --
hostedWebapptarget/www/hostedWebapp
!-- Ask GWT to create the Story of Your Compile (SOYC)
(gwt:compile) --
compileReporttrue/compileReport
/configuration
/plugin

!-- Add source folders to test classpath in order to run
gwt-tests as
normal junit-tests --
plugin
artifactIdmaven-surefire-plugin/artifactId
version2.5/version
configuration
additionalClasspathElements

additionalClasspathElement${project.build.sourceDirectory}/additionalClasspathElement

additionalClasspathElement${project.build.testSourceDirectory}/additionalClasspathElement