Announcement Announcement Module
Collapse
No announcement yet.
Ambigious(sic) command 'perform tests' - How can I build and perform tests ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ambigious(sic) command 'perform tests' - How can I build and perform tests ?

    Hi,

    I am new to roo, but am having some issues performing tests.

    I am using SpringSource Tool Suite Version: 2.8.0.RELEASE Build Id: 201110171000
    Spring Roo 1.1.5.RELEASE [rev d3a68c3]

    I am going through the Beginning With Roo: The Tutorial http://static.springsource.org/sprin...beginning.html, but using the Spring Tools off the project menu rather than the command prompt.

    All looks to be going well (except persistence setup is available whereas jpa setup isn't despite the former appearing to be deprecated according to http://static.springsource.org/sprin...ndex-jpa-setup), but perform tests does not work.

    I suspected a maven issue, but when I installed the addon using the Roo Addon Manager, I got the Ambigious command 'perform tests' error. I also get this with perform clean.

    How can I build and perform tests ?
    Are there any additional configuration issues I need to consider?
    I am behind a corporate firewall, and have had issues from the command prompt seeing this message...

    Spring Roo automatic add-on discovery service currently unavailable

    I would appreciate some assistance in getting the build and tests run.

    Many Thanks


    An extract of the log.

    Code:
     ____  ____  ____  
       / __ \/ __ \/ __ \ 
      / /_/ / / / / / / / 
     / _, _/ /_/ / /_/ /  
    /_/ |_|\____/\____/    1.1.5.RELEASE [rev d3a68c3]
    
    
    Welcome to Spring Roo. For assistance press CTRL+SPACE or type "hint" then hit ENTER.
    roo> persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY 
    
    ...
    
    ~.domain.PizzaOrder roo> field set --fieldName pizzas --type ~.domain.Pizza
    Updated SRC_MAIN_JAVA\acquiro\domain\PizzaOrder.java
    Updated SRC_MAIN_JAVA\acquiro\domain\PizzaOrder_Roo_JavaBean.aj
    Updated SRC_MAIN_JAVA\acquiro\domain\PizzaOrder_Roo_ToString.aj
    ~.domain.PizzaOrder roo> perform tests
    ~.domain.PizzaOrder roo> perform tests
    ~.domain.PizzaOrder roo> perform tests 
    ~.domain.PizzaOrder roo> addon install bundle --bundleSymbolicName org.springframework.roo.addon.maven;1.1.1.RELEASE
    ~.domain.PizzaOrder roo> Target resource(s):
    -------------------
       Spring Roo - Addon - Maven (1.1.1.RELEASE)
    
    Deploying...done.
    
    
    ~.domain.PizzaOrder roo> perform tests
    Ambigious command 'perform tests' (for assistance press CTRL+SPACE or type "hint" then hit ENTER)
    ~.domain.PizzaOrder roo> addon remove --bundleSymbolicName org.springframework.roo.addon.maven;1.1.1.RELEASE 
    ~.domain.PizzaOrder roo> perform tests
    Ambigious command 'perform tests' (for assistance press CTRL+SPACE or type "hint" then hit ENTER)
    ~.domain.PizzaOrder roo> perform clean
    Ambigious command 'perform clean' (for assistance press CTRL+SPACE or type "hint" then hit ENTER)
Working...
X