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

Hint fails after mongo setup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.2.0.M1
    • Fix Version/s: 1.2.0.RC1
    • Component/s: @ ROO SHELL
    • Labels:
      None

      Description

      For a mongodb only project, typing "hint" should not require jpa setup

      ____ ____ ____
      / __ \/ __ \/ __ \
      / /_/ / / / / / / /
      / , _/ // / /_/ /
      // ||___/___/ 1.2.0.M1 [rev 63a3136]

      Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
      @scottyfred: Getting started with #SpringRoo and #SQLFire: http://t.co/4QGP1OWQ
      roo> project --topLevelPackage com.test
      Created ROOT/pom.xml
      Created SRC_MAIN_JAVA
      Created SRC_MAIN_RESOURCES
      Created SRC_TEST_JAVA
      Created SRC_TEST_RESOURCES
      Created SRC_MAIN_WEBAPP
      Created SRC_MAIN_RESOURCES/META-INF/spring
      Created SRC_MAIN_RESOURCES/log4j.properties
      Created SRC_MAIN_RESOURCES/META-INF/spring/applicationContext.xml
      com.test roo> hint
      Roo requires the installation of a JPA provider and associated database.

      Type 'jpa setup' and then hit TAB three times.
      We suggest you type 'H' then TAB to complete "HIBERNATE".
      After the --provider, press TAB twice for database choices.
      For testing purposes, type (or TAB) HYPERSONIC_IN_MEMORY.
      If you press TAB again, you'll see there are no more options.
      As such, you're ready to press ENTER to execute the command.

      Once JPA is installed, type 'hint' and ENTER for the next suggestion.
      com.test roo> mongo setup
      Created SRC_MAIN_RESOURCES/META-INF/spring/database.properties
      Created SRC_MAIN_RESOURCES/META-INF/spring/applicationContext-mongo.xml
      Updated ROOT/pom.xml [added repositories http://maven.springframework.org/milestone, https://repository.jboss.org/nexus/content/repositories/releases; added dependencies javax.persistence:persistence-api:1.0, javax.validation:validation-api:1.0.0.GA, org.hibernate:hibernate-validator:4.2.0.Final, org.cloudfoundry:cloudfoundry-runtime:0.8.0, org.springframework.data:spring-data-mongodb:1.0.0.M4]
      Updated SRC_MAIN_RESOURCES/META-INF/spring/applicationContext-mongo.xml
      com.test roo> hint
      Roo requires the installation of a JPA provider and associated database.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sschmidt Stefan Schmidt
              Reporter:
              md10024 Mark Dopheide
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: