You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jan Bareš (JIRA)" <ji...@apache.org> on 2014/03/05 15:29:43 UTC

[jira] [Created] (QPID-5604) Bash scripts doesn't support Cygwin

Jan Bareš created QPID-5604:
-------------------------------

             Summary: Bash scripts doesn't support Cygwin
                 Key: QPID-5604
                 URL: https://issues.apache.org/jira/browse/QPID-5604
             Project: Qpid
          Issue Type: Bug
          Components: Java Tools
         Environment: Windows with Cygwin
            Reporter: Jan Bareš
            Priority: Trivial


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:
{noformat}
cygwin=false;
case "`uname`" in
  CYGWIN*) cygwin=true;;
esac

if $cygwin; then
  CLASSPATH=$(cygpath -wp $CLASSPATH)
fi
{noformat}

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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org