delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/18/02:12:51

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=cD9g2w2XMvFo32uQTaz2mu/4D83V+H
I/oJ2t0mEPnEjHzBGLU2jTSNx5RFq33RlZYXpLXrOwLw5cckJLw0A0o+4U2JovDW
aQAmxs3Eqet5BNllSWKuYd/MV6OoY9NKh74U2XQpxMEeoGNMLaUp3yFBO8Tw6AN6
H3eVnlUCKpAmU=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=FAyU2voQVDyW2lgoFHPqz0qstEk=; b=Gvm2
GWxPVErAzp6LzAm3Ac2nFLKvOAV+/LGqtdDIqCvkC+4avskVZ00SJIgAFCxkHnC8
STslDc4AyEsxOnPchfbs3nSnRJxINc2K5KO6E2Pm+WnQu0/As5xpsq1gdf4j3eMi
Qw+GlGNCqpIgC28itRPfSKtT0rI9dF0UOsAJSsQ=
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-Spam-SWARE-Status: No, score=1.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*UA:x64, H*UA:Win64, H*u:x64, H*u:Win64
X-HELO: blaine.gmane.org
To: cygwin AT cygwin DOT com
From: Franz Fehringer <fehrin2 AT gmail DOT com>
Subject: Re: antrun versus wsl versus cygwin
Date: Mon, 18 Feb 2019 08:12:31 +0100
Message-ID: <q4dlst$276p$1@blaine.gmane.org>
References: <q4bfgv$2i9q$1 AT blaine DOT gmane DOT org> <0f26a1aa-7c70-5201-5212-5f3df54a50fa AT gmail DOT com> <q4cm4s$1g33$1 AT blaine DOT gmane DOT org> <1968849310 DOT 20190218020001 AT yandex DOT ru>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
Openpgp: preference=signencrypt
In-Reply-To: <1968849310.20190218020001@yandex.ru>
X-IsSubscribed: yes

Am 18.02.2019 um 00:00 schrieb Andrey Repin:
> Greetings, Franz Fehringer!
> 
>> Am 17.02.2019 um 20:09 schrieb Csaba Ráduly:
>>> On 17/02/2019 12:11, Franz Fehringer wrote:
>>>> Hi all (half off topic),
>>>>
>>>> I have installed (on a Windows 10 1809 system) both Cygwin and WSL (only
>>>> the Windows component, no real Linux distribution yet).
>>>> This scenario gives me a strange problem with antrun: With <exec
>>>> executable="bash"> i always get the WSL bash instead of the Cygwin one,
>>>> although Cygwin is first in PATH (both Cygwin PATH and Windows PATH),
>>>> even so if C:/Windows/System32 (location of WSL bash) is not in the
>>>> (Cygwin) PATH at all.
>>>
>>> Is this a Cygwin ant or a Windows ant ?
>>>
>>> Csaba
> 
>> Windows ant via Windows maven (antrun plugin) in a Cygwin shell.
> 
> Check what Maven sets the environment to.
> 
> 

I already printed out env.PATH in the antrun block and it had Cygwin bin
before Windows system32.



--
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