Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5604

Bash scripts doesn't support Cygwin

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • Java Tools
    • None
    • Windows with Cygwin

    Description

      Under Cygwin the scripts like bin/QpidRestAPI.sh pass Cygwin related path to windows program (Java) and also Unix classpath separator. Adding support for Cygwin is easy:

      cygwin=false;
      case "`uname`" in
        CYGWIN*) cygwin=true;;
      esac
      
      if $cygwin; then
        CLASSPATH=$(cygpath -wp $CLASSPATH)
      fi
      

      Something similar can be done for Mac's Darwin, but I cannot test it.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jan_bar Jan BareŇ°
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment