Announcement Announcement Module
Collapse
No announcement yet.
Correct PAR version? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Correct PAR version?

    Hi,

    I'm following the document "Creating an application with dm Server" which consistently references the PAR 'greenpages-2.1.0.RELEASE.par' yet the POM 'greenpages-2.1.0.RELEASE/solution/greenpages/pom.xml' generates a PAR 'greenpages/target/greenpages-solution-2.0.1.SNAPSHOT.par'. Is that correct?

    Here's a snippet of the POM 'greenpages-2.1.0.RELEASE/solution/greenpages/pom.xml':

    <parent>
    <groupId>com.springsource.dmserver</groupId>
    <artifactId>greenpages.parent-solution</artifactId>
    <version>2.0.1.SNAPSHOT</version>
    <relativePath>../parent</relativePath>
    </parent>

    Here's the version information from the document:

    dm Server 2.0.0.RC1
    GreenPages 2.1.0.RELEASE
    SpringSource Tool Suite 2.3.0.RELEASE
    Apache Maven 2.2.0

  • #2
    GreenPages version stamping

    Hi gmbroth,
    Thank you for spotting this. Pretty obvious, really, but until we 'released' it these version levels were correct -- looks like we forgot to update all of them properly at release time. (Our automatic release/version updating systems didn't catch the pom files.)

    Here are the places in the GreenPages sample that should be changed, if you want a manual workaround:

    solution/greenpages/pom.xml: <version>2.0.1.SNAPSHOT</version>
    solution/greenpages.app/pom.xml: <version>2.0.1.SNAPSHOT</version>
    solution/greenpages.db/pom.xml: <version>2.0.1.SNAPSHOT</version>
    solution/greenpages.jpa/pom.xml: <version>2.0.1.SNAPSHOT</version>
    solution/greenpages.web/pom.xml: <version>2.0.1.SNAPSHOT</version>
    solution/parent/pom.xml: <version>2.0.1.SNAPSHOT</version>
    solution/pom.xml: <version>2.0.1.SNAPSHOT</version>
    start/greenpages.app/pom.xml: <version>2.0.1.SNAPSHOT</version>
    start/greenpages.jpa/pom.xml: <version>2.0.1.SNAPSHOT</version>
    start/greenpages.web/pom.xml: <version>2.0.1.SNAPSHOT</version>
    start/parent/pom.xml: <version>2.0.1.SNAPSHOT</version>
    start/pom.xml: <version>2.0.1.SNAPSHOT</version>


    I'll put up a minor increment to GreenPages (which will change all these to 2.1.1.RELEASE!) to capture this.

    Steve Powell

    Comment


    • #3
      Eclipse server launch error: com/springsource/server/launch/harness/LaunchHarness

      Hi Steve,

      I've applied the POM changes by hand. In working through the tutorial document, I can start dm-server on the command line but am getting the following error when attempting to launch it from Eclipse:

      Exception in thread "main" java.lang.NoClassDefFoundError: com/springsource/server/launch/harness/LaunchHarness
      Caused by: java.lang.ClassNotFoundException: com.springsource.server.launch.harness.LaunchHarne ss
      at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:3 15)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:330)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:2 50)
      at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:398)

      I am running on OS X. I saw the JIRA DMS-1734 that may be related but am not sure what to download. Help?

      Thanks, Garry

      Comment


      • #4
        Garry,
        Sorry not to get back to you 'til today. I'm not sure what level of STS you are running on. If it is the 2.3.0.RELEASE version (as used in the docs) then you shouldn't need to update the dm Server Tools plug-in part of the STS platform.

        However, if you want to get the latest DMS-TOOLS level, then what you do is add the update site to your STS update site list.

        Steve

        Comment

        Working...
        X