Results 1 to 3 of 3

Thread: use test test integration,it goes "Failed to convert '*' to type JavaType for option"

  1. #1

    Red face use test test integration,it goes "Failed to convert '*' to type JavaType for option"

    ~.web roo> test integration
    Failed to convert '*' to type JavaType for option 'entity'
    Unknown type; please indicate the type as a command option (ie --xxxx)


    but perform test is ok. see that below
    [Thread-16] [INFO] ------------------------------------------------------------------------
    [Thread-16] [INFO] BUILD SUCCESSFUL
    [Thread-16] [INFO] ------------------------------------------------------------------------
    [Thread-16] [INFO] Total time: 19 seconds
    [Thread-16] [INFO] Finished at: Thu Aug 19 17:12:20 CST 2010
    [Thread-16] [INFO] Final Memory: 39M/84M
    [Thread-16] [INFO] ------------------------------------------------------------------------
    some body hnown what's the hell on?
    Last edited by sjbwylbs; Aug 19th, 2010 at 04:36 AM.

  2. #2
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    You need to define for which type you want the integration test generated. if you look at your shell you see that the current context is ~.web which is a package and not a type. So just type "integration test --" folllowed by <TAB> to see what attributes this command offers to specify the type.
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  3. #3

    Default

    it's fine.

    thanks.

Posting Permissions

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