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

Bash scripts doesn't support Cygwin

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: