Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <035301c2d79f$7f6bd360$e5ea86d9@webdev>
Reply-To: "Elfyn McBratney" <cygwin@cygwin.com>
From: "Elfyn McBratney" <elfyn-cygwin@exposure.org.uk>
To: "cygwin" <cygwin@cygwin.com>, "whorfin" <whorfin1@yahoo.com>
References: <20030218223810.21183.qmail@web80411.mail.yahoo.com>
Subject: Re: cygpath problem in 1.3.20
Date: Tue, 18 Feb 2003 22:45:28 -0000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

> I am experiencing a problem with 1.3.20 that seems to
> be cygpath related.  Previously, I was using 1.3.17,
> upgraded today, and I get errors when trying to run
> Ant 1.5.1 (it ran just fine before).  After a little
> fiddling, it appears that cygpath is still having some
> problems.
>
> If I set JAVA_HOME to the following:
>
> c:\program files\ibm\websphere
> studio\runtimes\aes_v4\java
>
> And run the following command:
>
> cygpath --windows --path "$JAVA_HOME"
>
> it returns the following:
>
> c;d:\program files\ibm\websphere
> studio\runtimes\aes_v4\java

This is by design as the `--windows|-w' coupled with `--path|-p' swicthe(s)
expect unix path's and thus get split by ':' characters.

> Yes, that's really a c; at the start of the string.
> Needless to say, this is munging up the script that
> launches Ant big time.  It wasn't a problem at all in
> the previous version of Cygwin I was running.
>
> Any help at all is appreciated, especially since
> Cygwin is my primary command line build environment.
> Thanks in advance.

This was discussed in the last couple of weeks, where the thread starter had
the same "problem" as you. Can't see it yet, byt it's there ;-) Something
like "[bug] cygpath version...".


Regards,

Elfyn McBratney
elfyn@exposure.org.uk
www.exposure.org.uk



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

