Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2461

Release script fails on Mac OSX

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.4.RELEASE
    • Fix Version/s: 1.1.5.RELEASE
    • Component/s: BUILD
    • Labels:
      None
    • Environment:
      Mac OSX

      Description

      The release script "roo-deploy.sh" contains two occurrences of this line, which works on Linux but fails with "keyword not found" errors on OSX:

      MVN_TOMCAT_PID=`ps -eo "%p %c %a" | grep Launcher | grep tomcat:run | cut -b "1-6" | sed "s/ //g"`

      The workaround for OSX is to delete the -o switch and its format string, like this:

      MVN_TOMCAT_PID=`ps -e | grep Launcher | grep tomcat:run | cut -b "1-6" | sed "s/ //g"`

      Ideally we would like the script to work on both OSX and Linux.

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            aswan Andrew Swan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: