Announcement Announcement Module
Collapse
No announcement yet.
Roo in Mac Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo in Mac

    Hello, I am starting with spring-roo, so I downloaded it and now I'm trying to export the variable.
    To get it, I tryed:

    PATH=$PATH:/Users/myUsr/spring-roo/bin
    export PATH
    PATH variable

    my-Name-3:~ myUsr$ echo $PATH /sw/bin:/sw/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin:/Users/myUsr/spring-roo/bin
    In this path (/Users/myUsr/spring-roo/bin), there is roo.sh

    But then, I can not run the command roo as it is suposed to be.
    Any idea??

    Thanks in advance

  • #2
    You have to use the entire name, not just roo. You could create a symbolic link for "roo" that's points to the roo.sh file.

    Also make sure the .sh file has +x.

    Comment


    • #3
      Actually, all you have to do on the Mac is to create a symbolic link via the following command.

      sudo ln -sf /Users/myUsr/spring-roo/bin/roo.sh /usr/bin/roo

      Gordon Dickens
      http://manning.com/dickens

      Comment

      Working...
      X