heroku / devcenter-spring-mvc-hibernate

MIT License
75 stars 89 forks source link

Command 'project --topLevelPackage com.springsource.petclinic' was found but is not currently available #5

Open carlosromel opened 6 years ago

carlosromel commented 6 years ago

Hi.

Page mentions petclinic.roo but log.roo is used instead.

After adjusting the command, I receive:

Command 'project --topLevelPackage com.springsource.petclinic' was found but is not currently available (type 'help' then ENTER to learn about this command)

$ git clone https://github.com/heroku/devcenter-spring-mvc-hibernate.git petclinic
$ cd petclinic
$ roo script --file log.roo
    ____  ____  ____  
   / __ \/ __ \/ __ \ 
  / /_/ / / / / / / / 
 / _, _/ /_/ / /_/ /  
/_/ |_|\____/\____/    1.3.2.RELEASE [rev 8387857]

Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
// Spring Roo 1.3.1.RELEASE [rev f4f5256] log opened at 2015-03-10 08:22:21
project --topLevelPackage com.springsource.petclinic
Command 'project --topLevelPackage com.springsource.petclinic' was found but is not currently available (type 'help' then ENTER to learn about this command)
Script required 0.043 seconds to execute
Script execution aborted

Can anyone has passed thru this and get fix?

Thanks

NeuerburgH commented 6 years ago

try "cd src/main/java" and then execute "roo script --file clinic.roo" again