Results 1 to 6 of 6

Thread: GenericRCP based on SpringRCP

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    5

    Wink GenericRCP based on SpringRCP creates GUI automatically based on domain model

    Hi,

    i published a rich client based on SpringRCP at https://genericrcp.dev.java.net/.

    Perhaps a project member can add the link at

    http://spring-rich-c.sourceforge.net...poweredBy.html.

    Take a look and have much fun.

    Bambo
    Last edited by bambo1543; Sep 5th, 2006 at 06:06 PM.

  2. #2
    Join Date
    Jul 2006
    Posts
    106

    Default

    This application looks great!
    I think this might be a great demo application - will take a deeper look into it

    Unfortunately the build does not work:
    Any ideas why?


    [INFO] ----------------------------------------------------------------------------
    [INFO] Building propertymanager
    [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] No tests to run.
    [INFO] [jar:jar]
    [INFO] Building jar: /home/johannes/projects/net/java/genericrcp/propertymanager/target/propertymanager-0.1.0.jar
    [INFO] [jar:test-jar {execution: default}]
    [WARNING] JAR will be empty - no content was marked for inclusion!
    [INFO] Building jar: /home/johannes/projects/net/java/genericrcp/propertymanager/target/propertymanager-0.1.0-tests.jar
    [INFO] [install:install]
    [INFO] Installing /home/johannes/projects/net/java/genericrcp/propertymanager/target/propertymanager-0.1.0.jar to /home/johannes/.m2/repository/org/bambo/genericRCP/propertymanager/0.1.0/propertymanager-0.1.0.jar
    [INFO] Installing /home/johannes/projects/net/java/genericrcp/propertymanager/target/propertymanager-0.1.0-tests.jar to /home/johannes/.m2/repository/org/bambo/genericRCP/propertymanager/0.1.0/propertymanager-0.1.0-tests.jar
    [INFO] ----------------------------------------------------------------------------
    [INFO] Building richtable
    [INFO] task-segment: [install]
    [INFO] ----------------------------------------------------------------------------
    [INFO] [resources:resources]
    [INFO] Using default encoding to copy filtered resources.
    Downloading: http://spring-rich-c.sourceforge.net...lect-0.1.0.pom
    [WARNING] Unable to get resource from repository springRichclientRepository (http://spring-rich-c.sourceforge.net/maven2repository)
    Downloading: http://mirrors.sunsite.dk/maven2/org...lect-0.1.0.pom
    [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
    [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] No tests to run.
    [INFO] [jar:jar]
    [INFO] Building jar: /home/johannes/projects/net/java/genericrcp/richtable/target/richtable-0.1.1.jar
    [INFO] [jar:test-jar {execution: default}]
    [WARNING] JAR will be empty - no content was marked for inclusion!
    [INFO] Building jar: /home/johannes/projects/net/java/genericrcp/richtable/target/richtable-0.1.1-tests.jar
    [INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
    [INFO] Copying /home/johannes/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar to /home/johannes/projects/net/java/genericrcp/richtable/target/lib/junit-3.8.1.jar
    [INFO] ------------------------------------------------------------------------
    [ERROR] FATAL ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] org.apache.maven.project.artifact.ActiveProjectArt ifact
    [INFO] ------------------------------------------------------------------------
    [INFO] Trace
    java.lang.ClassCastException: org.apache.maven.project.artifact.ActiveProjectArt ifact
    at org.codehaus.mojo.dependency.CopyDependenciesMojo. execute(CopyDependenciesMojo.java:62)
    at org.apache.maven.plugin.DefaultPluginManager.execu teMojo(DefaultPluginManager.java:412)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(DefaultLifecycleExecutor.java:534)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalWithLifecycle(DefaultLifecycleExecuto r.java:475)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoal(DefaultLifecycleExecutor.java:454)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoalAndHandleFailures(DefaultLifecycleExe cutor.java:306)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeTaskSegments(DefaultLifecycleExecutor.jav a:273)
    at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.execute(DefaultLifecycleExecutor.java:140)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMav en.java:322)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven .java:115)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:2 56)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.codehaus.classworlds.Launcher.launchEnhanced(L auncher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher. java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode (Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.ja va:375)
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 4 seconds
    [INFO] Finished at: Tue Aug 22 17:59:44 CEST 2006
    [INFO] Final Memory: 9M/81M
    [INFO] ------------------------------------------------------------------------

  3. #3
    Join Date
    May 2006
    Posts
    5

    Default

    Hi,

    thanks for trying the tool and your feedback.

    Try to run this command "mvn -DperformRelease=true clean install" in each submodules in the following order:

    reflect
    propertymanager
    richtable
    resourcefinder
    packageparser
    genericRCP

    this is the same order like in the "super-pom" at modules
    normally it have to work to run "mvn install" with the super-pom because "reflect" and "propertymanager" will be installed in your local repo.

  4. #4
    Join Date
    Jul 2006
    Posts
    106

    Default

    If fails when I try to install "richtable" it fails, because there is a wrong dependency:

    1) org.bambo.genericRCP:richtable:jar:0.1.1
    2) org.bambo.genericRCP:reflect:jar:0.1.0 (the cvs version has been 0.1.1)

    I have made an cvs update and then tried to install "reflect" resulting in


    Code:
    [INFO] Building jar: /home/johannes/projects/net/java/genericrcp/richtable/target/richtable-0.1.1-javadoc.jar
    [INFO] Preparing source:jar
    [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
    [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: /home/johannes/projects/net/java/genericrcp/richtable/target/richtable-0.1.1-sources.jar
    [INFO] [dependency:copy-dependencies {execution: copy-dependencies}]
    [INFO] Copying /home/johannes/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar to /home/johannes/projects/net/java/genericrcp/richtable/target/lib/commons-logging-1.0.4.jar
    [INFO] Copying /home/johannes/.m2/repository/com/jgoodies/looks/2.0.4/looks-2.0.4.jar to /home/johannes/projects/net/java/genericrcp/richtable/target/lib/looks-2.0.4.jar
    [INFO] ------------------------------------------------------------------------
    [ERROR] FATAL ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] org.apache.maven.project.artifact.ActiveProjectArtifact
    [INFO] ------------------------------------------------------------------------
    [INFO] Trace
    java.lang.ClassCastException: org.apache.maven.project.artifact.ActiveProjectArtifact
            at org.codehaus.mojo.dependency.CopyDependenciesMojo.execute(CopyDependenciesMojo.java:62)
            at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
            at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
            at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
            at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
            at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
            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:585)
            at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
            at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
            at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
            at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 30 seconds
    [INFO] Finished at: Sun Aug 27 11:21:21 GMT 2006
    [INFO] Final Memory: 13M/77M
    [INFO] ------------------------------------------------------------------------
    Last edited by Shake; Aug 27th, 2006 at 06:22 AM.

  5. #5
    Join Date
    May 2006
    Posts
    5

    Default

    Oh sorry you're right.

    I'll fix it today or tomorrow.

    Thanks for your bug post.

    Did you try the binary version at

    https://genericrcp.dev.java.net/file...cRCP-0.1.2.zip
    Last edited by bambo1543; Aug 30th, 2006 at 08:40 AM.

  6. #6
    Join Date
    May 2005
    Posts
    394

    Default

    It's added in poweredBy, btw

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •