Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #31
    Originally posted by jbliesener
    [INFO] Unpacking C:\Dokumente und Einstellungen\Jörg\.m2\repository\com\google\gwt\gwt-dev\1.5.3\gwt-dev-1.5.3-windows-libs.zipto
    C:\Dokumente und Einstellungen\Jörg\.m2\repository\com\google\gwt\gwt-dev\1.5.3
    with Includes null and excludes:null[/CODE]
    Seems the Maven plugin wasn't able to find the GWT libraries. Could be the Umlaut (Jörg) in your username :

    http://www.archivum.info/users@maven.../msg01242.html

    Comment


      #32
      Yes, it worked after copying it to a different directory. So, it was either the Umlaut or the spaces in the path name.

      Damned be the day on which my parents selected my name... ;-)

      Comment


        #33
        Originally posted by jbliesener
        it was either the Umlaut or the spaces in the path name
        Must have been the Umlaut because whitespace in the path works.

        Originally posted by jbliesener
        Damned be the day in which my parents selected my name... ;-)
        LOL ... so be careful when choosing a name for your kids : http://xkcd.com/327/

        Comment


          #34
          problem mergewebxml can't compile

          Reason: Unable to merge web.xml

          org.apache.maven.plugin.MojoExecutionException: module file null

          this is my problem and my conf: http://nopaste.com/p/amFl4bSOd
          Code:
          [ERROR] 
          
          The following mojo encountered an error while executing:
          Group-Id: com.totsp.gwt
          Artifact-Id: maven-googlewebtoolkit2-plugin
          Version: 2.0-beta26
          Mojo: mergewebxml
          brought in via: POM
          
          While building project:
          Group-Id: com.totsp.gwt
          Artifact-Id: maven-gwt-sample
          Version: 1.0-SNAPSHOT
          From file: /home/pippo/workspace/myproject/pom.xml
          Reason: Unable to merge web.xml
          
          org.apache.maven.plugin.MojoExecutionException: module file null
          	at com.totsp.mavenplugin.gwt.MergeWebXmlMojo.execute(MergeWebXmlMojo.java:94)
          	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
          	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
          	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
          	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
          	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
          	at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
          	at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
          	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
          	at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
          	at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
          	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
          	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
          	at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          	at java.lang.reflect.Method.invoke(Method.java:597)
          	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
          	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
          	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
          	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
          	at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
          
          
          
          Error stacktrace:
          org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'com.totsp.gwt:maven-googlewebtoolkit2-plugin:2.0-beta26:mergewebxml': Mojo execution failed.
          	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:505)
          	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
          	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
          	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
          	at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
          	at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
          	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
          	at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
          	at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
          	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
          	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
          	at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          	at java.lang.reflect.Method.invoke(Method.java:597)
          	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
          	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
          	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
          	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
          	at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
          Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo execution failed.
          	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:601)
          	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
          	... 20 more
          Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to merge web.xml
          	at com.totsp.mavenplugin.gwt.MergeWebXmlMojo.execute(MergeWebXmlMojo.java:103)
          	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
          	... 21 more
          Caused by: org.apache.maven.plugin.MojoExecutionException: module file null
          	at com.totsp.mavenplugin.gwt.MergeWebXmlMojo.execute(MergeWebXmlMojo.java:94)
          	... 22 more
          
          [INFO] ------------------------------------------------------------------------
          [INFO] BUILD FAILED
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 4 seconds
          [INFO] Finished at: Wed May 06 11:42:26 CEST 2009
          [INFO] Final Memory: 3M/15M
          [INFO] ------------------------------------------------------------------------
          any idea?
          Last edited by steal82; 6 May 2009, 02:21.

          Comment


            #35
            Originally posted by steal82
            org.apache.maven.plugin.MojoExecutionException: module file null
            Your pom.xml :
            Code:
            <compileTargets>
              <value>com.totsp.sample.Application</value>
            </compileTargets>
            <runTarget>com.totsp.sample.Application/Application.html</runTarget>
            This is not correct, as your Application.gwt.xml resides in it.mycompany.myproject. Modify your pom.xml :
            Code:
            <compileTargets>
              <value>it.mycompany.myproject.Application</value>
            </compileTargets>
            <runTarget>it.mycompany.myproject.Application/Application.html</runTarget>

            Comment


              #36
              great 4 eye are better than one. I' don't know why but I was looking a not real pom.xml

              now it work thanks

              Comment


                #37
                Let X be the number of your eyes and let Y be the number of my eyes.

                Originally posted by steal82
                great 4 eye are better than one.
                (1) X + Y = 4

                Originally posted by steal82
                great 4 eye are better than one.
                (2) X = 1

                Substitute X in (1) with (2), which gives (1'):

                (1') 1 + Y = 4
                (1'') Y = 4 - 1
                (1''') Y = 3

                => I must have three eyes !?

                Comment


                  #38
                  Migrate to codehaus

                  Anyone starting now with GWT and maven should be using the new codehaus gwt-maven-plugin. The older googlecode version of the plugin has been deprecated in favor of the new one. The new plugin has support for GWT 1.6 whilethe old one does not.

                  Please see following for details including a minimal sample maven project:

                  <http://groups.google.com/group/gwt-maven/msg/4d4e30b0fdbc1c14?hl=en>

                  Comment


                    #39
                    Hi,

                    Firstly, thank you for the Tutorial.

                    My Questions:

                    1. How can I change a port 8888?
                    2. At the start of the application a build process takes a lot of time, how can I make it faster? I know only how to skip a run of tests.

                    Thanks beforehand.

                    Comment


                      #40
                      Originally posted by farrukh_najmi
                      Please see following for details including a minimal sample maven project:
                      <http://groups.google.com/group/gwt-maven/msg/4d4e30b0fdbc1c14?hl=en>
                      The version 1.1-SNAPSHOT of the gwt-maven plugin can't be found in central,
                      so you have to add a plugin repository to your pom.xml that provides it:
                      Code:
                      <project>
                        ...
                        <pluginRepositories>
                          ...
                          <pluginRepository>
                            <id>codehaus-snapshots</id>
                            <url>http://snapshots.repository.codehaus.org</url>
                          </pluginRepository>
                          ...
                        </pluginRepositories>
                        ...
                      </project>
                      Originally posted by sipungora
                      2. At the start of the application a build process takes a lot of time, how can I make it faster? I know only how to skip a run of tests.
                      Add these VM-arguments to your launch configuration (on the 'JRE' tab):
                      Code:
                      -Dgoogle.webtoolkit.compileSkip=true -Dmaven.test.skip=true -Dgoogle.webtoolkit.testSkip=true
                      Last edited by nlotz; 7 May 2009, 14:13.

                      Comment


                        #41
                        Thank you, nlotz.

                        Also, I cannot change the port 8888, or?

                        How can I debug my gwt application? I have tried to debug in eclipse, I've set breakpoints, but es had no effect.

                        Thanks beforehand.

                        Comment


                          #42
                          Originally posted by sipungora
                          Also, I cannot change the port 8888, or?
                          http://gwt-maven.googlecode.com/svn/...mojo.html#port

                          Originally posted by sipungora
                          How can I debug my gwt application? I have tried to debug in eclipse, I've set breakpoints, but es had no effect.
                          http://tinyurl.com/cv45vc

                          Comment


                            #43
                            Maven und extends VLayout

                            Hi,

                            Code:
                            1. class A extends VLayout{...}
                            
                            class B extends A{...}
                            After buid with Maven I get a Build Error with:
                            Code:
                            [1, 0] The return type is incompatible with Canvas.getOrCreateRef(JavaScriptObject), Layout.getOrCreateRef(JavaScriptObject), VLayout.getOrCreateRef(JavaScriptObject)
                            But if I write first without "extends VLayout" I get no error. Then I insert "extends VLayout", do refresh in the GWTBrowser and this work. How can I fix this in order to build my projekt with Maven without errors?

                            Thanks beforehand.

                            Comment


                              #44
                              How can I use SmartGWT EE

                              I have been trying to use SmartGWT EE from command line and now want ot return to the ease of Eclipse and Marvin.

                              I have just followed your instructions and have the new GWT version 1.6 and the version 1.1 of SmartGWT wokring. (Great instructions)

                              I have also paid ofr a license to use SmartGWT EE. How can I add that functionality in to this eclipse/marvin workspace.

                              Do I use smartGWT EE instrad odf version 1.1 of SMARTGWT or can I use both?

                              Thanks again

                              Comment


                                #45
                                Getting Started

                                Can we please have a single, current, complete "How To" - "Getting Started" script with a single, working maven archetype that produces a "Hello World" (or similar) application that actually compiles and runs?

                                I've had to read through five pages of notes here just to find all the various pieces of folk knowledge I need, and even after that, the project created by the codehaus archetype does not build (with the provided maven build goal).

                                SmartGWT looks like a fantastic product. It'd sure be nice to be able to use it.

                                FWIW, I'm using Eclipse 3.4 on a Kubuntu 9.10 system.

                                Thanks,

                                Comment

                                Working...
                                X