Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1329

Expenses sample cannot be imported into STS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GAE
    • Labels:
      None

      Description

      Steps to reproduce
      Blow away the com/google/appengine dir in your maven repo. For example, rm -rf ~/.m2/repository/com/google/appengine/

      And then without 'mvn package', import the expenses app into STS, it fails with the following missing GAE artifacts messages:

      1) com.google.appengine:appengine-tools-api:jar:1.3.4
      2) com.google.appengine:appengine-local-runtime:jar:1.3.4

      On cmd-line, when I run 'mvn package', the appengine-java-sdk is downloaded from maven-gae-plugin.googlecode.com (look below for the complete log). Somehow, this repository is not being tried when the project is being imported, as in the message above.

      Hope this provides some leads. Chris, would you be taking a look at this?
      =======================

      [INFO] [gae:unpack

      {execution: }

      ]
      Downloading: http://maven.springframework.org/release/com/google/appengine/appengine-java-sdk/1.3.4/appengine-java-sdk-1.3.4.zip
      [INFO] Unable to find resource 'com.google.appengine:appengine-java-sdk:zip:1.3.4' in repository spring-maven-release (http://maven.springframework.org/release)
      Downloading: http://maven.springframework.org/milestone/com/google/appengine/appengine-java-sdk/1.3.4/appengine-java-sdk-1.3.4.zip
      [INFO] Unable to find resource 'com.google.appengine:appengine-java-sdk:zip:1.3.4' in repository spring-maven-milestone (http://maven.springframework.org/milestone)
      Downloading: http://spring-roo-repository.springsource.org/release/com/google/appengine/appengine-java-sdk/1.3.4/appengine-java-sdk-1.3.4.zip
      [INFO] Unable to find resource 'com.google.appengine:appengine-java-sdk:zip:1.3.4' in repository spring-roo-repository (http://spring-roo-repository.springsource.org/release)
      Downloading: http://maven-gae-plugin.googlecode.com/svn/repository/com/google/appengine/appengine-java-sdk/1.3.4/appengine-java-sdk-1.3.4.zip
      27558K downloaded (appengine-java-sdk-1.3.4.zip)
      [INFO] Extracting GAE SDK file: /Users/amitmanjhi/.m2/repository/com/google/appengine/appengine-java-sdk/1.3.4/appengine-java-sdk-1.3.4.zip
      [INFO] To path: /Users/amitmanjhi/.m2/repository/com/google/appengine/appengine-java-sdk/1.3.4

        Attachments

          Activity

            People

            Assignee:
            cromwellian Ray Cromwell
            Reporter:
            rjrjr@google.com Ray Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: