delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/14/15:50:36

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=P24MnHgWgmCbImoe
xVy9PtZ95Nvj09m4aHYwUNsa8Q+grcb5jujsvcjvTahh+QYowYdH6zjR56RRGPHn
RXDh7cFSpZzNc1WeFBX/VkcXng7wBbffk5YDSp3Uty3xlxx1wLgGIAGG8ruIt1Cu
7m5wANxfMedVTPz5cToeNGMwHjs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=QwcnlKGRxjGN0BS+pTZBHv
JBVDQ=; b=a6mXEwABSS1N8tpizsQjwTSnVX3uNupKY5ZfxLSNYzD5K4Mb/Bd2MO
MLe5D0EvsWyXgJRXtyVWZ+kW/ilifLUeG+0p9ytpAyMAlIJN+cayw/ZyMd8iAx8K
a3XfOsoeunqBCag2sVdbYB3zIka4NXGYfh/QzJbIj8vTudfAAL1gs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=someplace, maven, brokes, Brokes
X-HELO: forward1o.cmail.yandex.net
Authentication-Results: smtp2m.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Sat, 14 Jan 2017 23:36:01 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1410296026.20170114233601@yandex.ru>
To: Chris Brokes <brokesc AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Windows Path issue with maven/java on cygwin ("/C:/cygwin64/git...")
In-Reply-To: <29451285-fb2f-cc16-362a-0276082e8b4d@gmail.com>
References: <29451285-fb2f-cc16-362a-0276082e8b4d AT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Chris Brokes!

> I can confirm that the files listed exist.
> If you type the path as any of the following:
> /cygdrive/c/cygwin64/git/  <continue path as appropriate>
> C:/cygwin64/git/   <continue path as appropriate>
> /git/   <continue path as appropriate>

> The issue apparently is the leading "/"

No, the issue is that you're trying to mix native and Cygwin tools with not
much of an understanding.

> So...my question goes like this:
> a) is there something in my configuration which is causing this? (i.e. 
> should I have the linux version of java installed under cygwin or am I 
> missing a setting someplace?)

Mating Cynwin and Windows tools is possible, but tricky and requires clear
understanding of implications.

> b) is there a fix/hack I can apply to cause the leading / to be a non 
> issue? (i.e. a ln configured a specific way or an alias?  I've attempted 
> both but neither seem to have fixed the issue...possibly because I 
> didn't setup the correction properly?)

You should probably look into native git port. Or host a VM with native Linux
environment for your compilation needs.

> c) has anyone seen anything like this?  due to the special characters 
> involved, searching was relatively useless (just about every search 
> found me C/C++/gcc related results...)

These two links should be a good read:
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html



-- 
With best regards,
Andrey Repin
Saturday, January 14, 2017 23:32:44

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019