12 Replies Latest reply: Apr 28, 2009 11:42 PM by Heiko Braun RSS

    Building gwt-console

    Naman Joshi Newbie

      Hi,

      I checked out the gwt-console and tried to run "mvn install" and i got the following error:

      [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dep
      endencies
      Removing units with errors
      [ERROR] Errors in 'file:/C:/dev/gwt-console/war/src/main/java/org/jboss/bpm/c
      onsole/client/process/ProcessEditor.java'
      [ERROR] Line 47: No source code is available for type org.jboss.bpm.consol
      e.client.Editor; did you forget to inherit a required module?
      [ERROR] Line 53: No source code is available for type org.jboss.bpm.consol
      e.client.util.ModelListenerRegistry; did you forget to inherit a required module
      ?

      Any ideas what the problem is?

      I thought it might be the POM but i checked it against the maven-gwt site and it seemed ok.

      Thanks in advance,
      NJ

        • 1. Re: Building gwt-console
          Vojtech Knezu Newbie

          Hi Naman,

          I've met the same issue, solved it by adding sources to gwt-console-plugin-api-1.0.0-SNAPSHOT.jar and omitting its build the next time. Not nice, but working.

          Regards,

          Vojtech

          • 2. Re: Building gwt-console
            Heiko Braun Master

            Did you run that command in the top level directory?

            • 3. Re: Building gwt-console
              Juan Talavera Newbie

              i'm also having the same issue. i have just checked out from svn, and run

              mvn install

              at root directory.

              i've also tried to compile each component separately, and the build crashes
              in the gui component (perhaps obviously).

              • 4. Re: Building gwt-console
                Heiko Braun Master

                What OS are you using? Can you tell me the maven version as well?

                • 5. Re: Building gwt-console
                  Heiko Braun Master

                  OK, stupid me. Looks like windows. However I'd still need to know the maven version. Try it with 2.0.9.

                  • 6. Re: Building gwt-console
                    Juan Talavera Newbie

                    in my case, Windows .... maven 2.1.0

                    i'll try 2.0.9 now

                    • 7. Re: Building gwt-console
                      Juan Talavera Newbie

                      mvn -version
                      Maven version: 2.0.9
                      Java version: 1.5.0_06
                      OS name: "windows nt (unknown)" version: "6.0" arch: "x86" Family: "windows"


                      got same issue. This is the maven output :



                      [INFO] Scanning for projects...
                      [INFO] Reactor build order:
                      [INFO] JBoss BPM - GWT Console
                      [INFO] JBoss BPM - GWT Console (RPC)
                      [INFO] JBoss BPM - GWT Console (Server)
                      [INFO] JBoss BPM - GWT Console (Server Integration)
                      [INFO] JBoss BPM - GWT Console (Server Main)
                      [INFO] JBoss BPM - GWT Console (GUI)
                      [INFO] JBoss BPM - GWT Console (GUI Workspace-API)
                      [INFO] JBoss BPM - GWT Console (GUI Main)
                      [INFO] ------------------------------------------------------------------------
                      [INFO] Building JBoss BPM - GWT Console
                      [INFO] task-segment: [install]
                      [INFO] ------------------------------------------------------------------------
                      [INFO] [site:attach-descriptor]
                      [INFO] Preparing source:jar
                      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
                      [INFO] No goals needed for project - skipping
                      [INFO] [source:jar {execution: attach-sources}]
                      [INFO] [install:install]
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\pom.xml to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-parent\1.0.0-SNAPSHOT\gwt-console-parent-1.0.0-SNAPSHOT.pom
                      [INFO] ------------------------------------------------------------------------
                      [INFO] Building JBoss BPM - GWT Console (RPC)
                      [INFO] task-segment: [install]
                      [INFO] ------------------------------------------------------------------------
                      [INFO] [resources:resources]
                      [INFO] Using default encoding to copy filtered resources.
                      [INFO] [compiler:compile]
                      [INFO] Nothing to compile - all classes are up to date
                      [INFO] [resources:testResources]
                      [INFO] Using default encoding to copy filtered resources.
                      [INFO] [compiler:testCompile]
                      [INFO] No sources to compile
                      [INFO] [surefire:test]
                      [INFO] Tests are skipped.
                      [INFO] [jar:jar]
                      [INFO] Preparing source:jar
                      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
                      [INFO] No goals needed for project - skipping
                      [INFO] [source:jar {execution: attach-sources}]
                      [INFO] Building jar: D:\infocorp\bpm\sources\gwt-console\rpc\target\gwt-console-rpc-1.0.0-SNAPSHOT-sources.jar
                      [INFO] [install:install]
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\rpc\target\gwt-console-rpc-1.0.0-SNAPSHOT.jar to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-rpc\1.0.0-SNAPSHOT\gwt-console-rpc-1.0.0-SNAPSHOT.jar
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\rpc\target\gwt-console-rpc-1.0.0-SNAPSHOT-sources.jar to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-rpc\1.0.0-SNAPSHOT\gwt-console-rpc-1.0.0-SNAPSHOT-sources.jar
                      [INFO] ------------------------------------------------------------------------
                      [INFO] Building JBoss BPM - GWT Console (Server)
                      [INFO] task-segment: [install]
                      [INFO] ------------------------------------------------------------------------
                      [INFO] [site:attach-descriptor]
                      [INFO] Preparing source:jar
                      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
                      [INFO] No goals needed for project - skipping
                      [INFO] [source:jar {execution: attach-sources}]
                      [INFO] [install:install]
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\server\pom.xml to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-servermodule\1.0.0-SNAPSHOT\gwt-console-servermodule-1.0.0-SNAPSHOT.pom
                      [INFO] ------------------------------------------------------------------------
                      [INFO] Building JBoss BPM - GWT Console (Server Integration)
                      [INFO] task-segment: [install]
                      [INFO] ------------------------------------------------------------------------
                      [INFO] [resources:resources]
                      [INFO] Using default encoding to copy filtered resources.
                      [INFO] [compiler:compile]
                      [INFO] Nothing to compile - all classes are up to date
                      [INFO] [resources:testResources]
                      [INFO] Using default encoding to copy filtered resources.
                      [INFO] [compiler:testCompile]
                      [INFO] No sources to compile
                      [INFO] [surefire:test]
                      [INFO] Tests are skipped.
                      [INFO] [jar:jar]
                      [INFO] Preparing source:jar
                      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
                      [INFO] No goals needed for project - skipping
                      [INFO] [source:jar {execution: attach-sources}]
                      [INFO] Building jar: D:\infocorp\bpm\sources\gwt-console\server\server-integration\target\gwt-console-server-integration-sources.jar
                      [INFO] [install:install]
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\server\server-integration\target\gwt-console-server-integration.jar to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-server-integration\1.0.0-SNAPSHOT\gwt-console-server-integration-1.0.0-SNAPSHOT.jar
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\server\server-integration\target\gwt-console-server-integration-sources.jar to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-server-integration\1.0.0-SNAPSHOT\gwt-console-server-integration-1.0.0-SNAPSHOT-sources.jar
                      [INFO] ------------------------------------------------------------------------
                      [INFO] Building JBoss BPM - GWT Console (Server Main)
                      [INFO] task-segment: [install]
                      [INFO] ------------------------------------------------------------------------
                      [INFO] [resources:resources]
                      [INFO] Using default encoding to copy filtered resources.
                      [INFO] [compiler:compile]
                      [INFO] Nothing to compile - all classes are up to date
                      [INFO] [resources:testResources]
                      [INFO] Using default encoding to copy filtered resources.
                      [INFO] [compiler:testCompile]
                      [INFO] Nothing to compile - all classes are up to date
                      [INFO] [surefire:test]
                      [INFO] Tests are skipped.
                      [INFO] [war:war]
                      [INFO] Packaging webapp
                      [INFO] Assembling webapp[gwt-console-server] in [D:\infocorp\bpm\sources\gwt-console\server\server-core\target\gwt-console-server]
                      [INFO] Processing war project
                      [INFO] Webapp assembled in[145 msecs]
                      [INFO] Building war: D:\infocorp\bpm\sources\gwt-console\server\server-core\target\gwt-console-server.war
                      [INFO] Preparing source:jar
                      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
                      [INFO] No goals needed for project - skipping
                      [INFO] [source:jar {execution: attach-sources}]
                      [INFO] Building jar: D:\infocorp\bpm\sources\gwt-console\server\server-core\target\gwt-console-server-sources.jar
                      [INFO] [assembly:single {execution: default}]
                      [INFO] Reading assembly descriptor: scripts/assembly-config.xml
                      [INFO] Building zip: D:\infocorp\bpm\sources\gwt-console\server\server-core\target\gwt-console-server-report.zip
                      [INFO] [install:install]
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\server\server-core\target\gwt-console-server.war to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-server\1.0.0-SNAPSHOT\gwt-console-server-1.0.0-SNAPSHOT.war
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\server\server-core\target\gwt-console-server-sources.jar to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-server\1.0.0-SNAPSHOT\gwt-console-server-1.0.0-SNAPSHOT-sources.jar
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\server\server-core\target\gwt-console-server-report.zip to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-server\1.0.0-SNAPSHOT\gwt-console-server-1.0.0-SNAPSHOT-report.zip
                      [INFO] ------------------------------------------------------------------------
                      [INFO] Building JBoss BPM - GWT Console (GUI)
                      [INFO] task-segment: [install]
                      [INFO] ------------------------------------------------------------------------
                      [INFO] [site:attach-descriptor]
                      [INFO] Preparing source:jar
                      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
                      [INFO] No goals needed for project - skipping
                      [INFO] [source:jar {execution: attach-sources}]
                      [INFO] [install:install]
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\gui\pom.xml to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-guimodule\1.0.0-SNAPSHOT\gwt-console-guimodule-1.0.0-SNAPSHOT.pom
                      [INFO] ------------------------------------------------------------------------
                      [INFO] Building JBoss BPM - GWT Console (GUI Workspace-API)
                      [INFO] task-segment: [install]
                      [INFO] ------------------------------------------------------------------------
                      [INFO] [resources:resources]
                      [INFO] Using default encoding to copy filtered resources.
                      [INFO] [compiler:compile]
                      [INFO] Nothing to compile - all classes are up to date
                      [INFO] [resources:testResources]
                      [INFO] Using default encoding to copy filtered resources.
                      [INFO] [compiler:testCompile]
                      [INFO] No sources to compile
                      [INFO] [surefire:test]
                      [INFO] Tests are skipped.
                      [INFO] [jar:jar]
                      [INFO] Preparing source:jar
                      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
                      [INFO] No goals needed for project - skipping
                      [INFO] [source:jar {execution: attach-sources}]
                      [INFO] Building jar: D:\infocorp\bpm\sources\gwt-console\gui\workspace-api\target\gwt-console-workspace-api-1.0.0-SNAPSHOT-sources.jar
                      [INFO] [install:install]
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\gui\workspace-api\target\gwt-console-workspace-api-1.0.0-SNAPSHOT.jar to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-workspace-api\1.0.0-SNAPSHOT\gwt-console-workspace-api-1.0.0-SNAPSHOT.jar
                      [INFO] Installing D:\infocorp\bpm\sources\gwt-console\gui\workspace-api\target\gwt-console-workspace-api-1.0.0-SNAPSHOT-sources.jar to C:\Users\jtalavera\.m2\repository\org\jboss\bpm\gwt-console-workspace-api\1.0.0-SNAPSHOT\gwt-console-workspace-api-1.0.0-SNAPSHOT-sources.jar
                      [INFO] ------------------------------------------------------------------------
                      [INFO] Building JBoss BPM - GWT Console (GUI Main)
                      [INFO] task-segment: [install]
                      [INFO] ------------------------------------------------------------------------
                      [INFO] [resources:resources]
                      [INFO] Using default encoding to copy filtered resources.
                      [INFO] [gwt:mergewebxml {execution: default}]
                      [INFO] copy source web.xml - D:\infocorp\bpm\sources\gwt-console\gui\war\src\main\webapp\WEB-INF\web.xml to build dir (source web.xml required if mergewebxml execution is enabled)
                      [INFO] establishing classpath list (buildClaspathList - scope = COMPILE)
                      [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies
                      [INFO] Module file: D:\infocorp\bpm\sources\gwt-console\gui\war\src\main\resources\org\jboss\bpm\console\Application.gwt.xml
                      [INFO] [compiler:compile]
                      [INFO] Compiling 3 source files to D:\infocorp\bpm\sources\gwt-console\gui\war\target\classes
                      [INFO] [dependency:unpack {execution: unpack}]
                      [INFO] Configured Artifact: com.google.gwt:gwt-dev:windows-libs:?:zip
                      [INFO] gwt-dev-1.5.3-windows-libs.zip already unpacked.
                      [INFO] [gwt:compile {execution: default}]
                      [INFO] establishing classpath list (buildClaspathList - scope = COMPILE)
                      [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies
                      Removing units with errors
                      [ERROR] Errors in 'file:/D:/infocorp/bpm/sources/gwt-console/gui/war/src/main/java/org/jboss/bpm/console/client/process/StartNewInstanceAction.java'
                      [ERROR] Line 42: No source code is available for type org.jboss.bpm.console.client.ApplicationContext; did you forget to inherit a required module?
                      [ERROR] Errors in 'file:/D:/infocorp/bpm/sources/gwt-console/gui/war/src/main/java/org/jboss/bpm/console/client/task/ReleaseTaskAction.java'
                      [ERROR] Line 39: No source code is available for type org.jboss.bpm.console.client.ApplicationContext; did you forget to inherit a required module?
                      [ERROR] Errors in 'file:/D:/infocorp/bpm/sources/gwt-console/gui/war/src/main/java/org/jboss/bpm/console/client/process/ProcessEditorNavigation.java'
                      [ERROR] Line 36: No source code is available for type org.jboss.bpm.console.client.ApplicationContext; did you forget to inherit a required module?

                      • 8. Re: Building gwt-console
                        Heiko Braun Master

                        Thanks, I was able to reproduce it on a windows machine. Doesn't seem to be related to the maven version. I'll get back back to you when I know what's going wrong.

                        • 9. Re: Building gwt-console
                          Heiko Braun Master

                          You can monitor progress here:

                          https://jira.jboss.org/jira/browse/JBPM-2199

                          • 10. Re: Building gwt-console
                            Heiko Braun Master

                            OK, it's fixed. If you update trunk it pulls an updated version of gwt-maven, which solves the problem.

                            • 11. Re: Building gwt-console
                              Bernd Ruecker Master

                              Nice, I think is the same issue I had with compiling the console... I will try again :-)

                              Thanks Heiko.

                              • 12. Re: Building gwt-console
                                Heiko Braun Master

                                Yes, I was just going to reply to your post in the jbpm forum.