Results 1 to 5 of 5

Thread: Roo shell not always running command

  1. #1
    Join Date
    Oct 2011
    Posts
    5

    Default Roo shell not always running command

    Hey guys,

    I'm using the 1.2.0.M1 version of Spring Roo in combination with the SpringSource Tool Suite.

    In this version the shell does not always respond to your commands. Is that a known issue in the Roo shell?

    For example:

    Code:
    roo> jpa setup --database H2_IN_MEMORY --provider HIBERNATE 
    roo> jpa setup --database H2_IN_MEMORY --provider HIBERNATE 
    Created SRC_MAIN_RESOURCES\META-INF\spring\database.properties
    Updated ROOT\pom.xml [added dependencies com.h2database:h2:1.3.160, org.hibernate:hibernate-core:3.6.7.Final, org.hibernate:hibernate-entitymanager:3.6.7.Final, org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final, org.hibernate:hibernate-validator:4.2.0.Final, javax.validation:validation-api:1.0.0.GA, cglib:cglib-nodep:2.2.2, javax.transaction:jta:1.1, org.springframework:spring-jdbc:${spring.version}, org.springframework:spring-orm:${spring.version}, commons-pool:commons-pool:1.5.4, commons-dbcp:commons-dbcp:1.3; added repository https://repository.jboss.org/nexus/content/repositories/releases]
    Updated SRC_MAIN_RESOURCES\META-INF\spring\applicationContext.xml
    Created SRC_MAIN_RESOURCES\META-INF\persistence.xml
    As you can see the first time I executed this command it did not respond. The prompt appeared again, so I assumed the Roo Shell was ready. Should I wait longer or is it just the shell?

  2. #2
    Join Date
    Nov 2011
    Posts
    5

    Default

    I think i maybe seeing the same issue with 1.1.5, as you can see below, same commands sometime produce no output, sometime does! Weird.

    /_/ |_|\____/\____/ 1.1.5.RELEASE [rev d3a68c3]


    Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
    roo> project --topLevelPackage com.roo.testing
    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.roo.testing roo> download status
    com.roo.testing roo> addon list
    No add-ons known. Are you online? Try the 'download s
    com.roo.testing roo> download status

    **** DOWNLOAD CONSENT GRANTED ****

    You have previously accepted the Spring User Agent Analysis (UAA) Terms of Use
    as displayed at http://www.springsource.org/uaa/terms_of_use. There is also a
    FAQ available at http://www.springsource.org/uaa/faq.

    This means that all Spring Roo download functions are enabled. All applicable
    add-on discovery and installation commands are fully enabled.

    If you'd like to change your mind and revoke your acceptance of the UAA Terms
    of Use (and in turn disable Spring Roo features such as add-on support), you
    may do so by typing 'download reject terms of use' and pressing ENTER.

    If you'd like to keep UAA enabled (and thus all Spring Roo features enabled)
    but look at the exact data Spring UAA is sending, please type 'download view'
    and press ENTER. You can also fine-tune the level of data that Spring UAA is
    sending using the 'download privacy level' command.

    Questions on Spring UAA? Please ask us on the Spring Roo Community Forum at
    http://forum.springsource.org/forumdisplay.php?f=67. We're happy to help.

    com.roo.testing roo> addon list --refresh
    com.roo.testing roo> addon list
    com.roo.testing roo> download status
    com.roo.testing roo>

  3. #3
    Join Date
    Oct 2011
    Posts
    5

    Default

    I can confirm that this issue only gets worse in the 1.2.0 RC1.
    The roo shell is pretty unresponsive and sluggish.

  4. #4
    Join Date
    Nov 2007
    Posts
    21

    Default

    I'm also having problems with the shell reacting to input. this is on a clean STS 2.8.1 and Roo 1.2.0.RC1 with a new Roo project. After having set up persistence, I tried:

    roo> entity jpa --class ~.domain.Person

    Did this a few times in a row and got no response - no error or anything.

    Anyone have a clue what's going on?

    Thanks

  5. #5
    Join Date
    Mar 2008
    Location
    Portland OR
    Posts
    44

    Default

    I filed an STS bug on this https://issuetracker.springsource.com/browse/STS-2294

    In the meantime, try running Roo outside STS

Tags for this Thread

Posting Permissions

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