From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14436 invoked by alias); 18 Feb 2019 07:12:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14416 invoked by uid 89); 18 Feb 2019 07:12:38 -0000 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 Received: from Unknown (HELO blaine.gmane.org) (195.159.176.226) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 18 Feb 2019 07:12:37 +0000 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gvd6R-000NL7-3C for cygwin@cygwin.com; Mon, 18 Feb 2019 08:12:35 +0100 To: cygwin@cygwin.com From: Franz Fehringer Subject: Re: antrun versus wsl versus cygwin Date: Mon, 18 Feb 2019 07:20:00 -0000 Message-ID: References: <0f26a1aa-7c70-5201-5212-5f3df54a50fa@gmail.com> <1968849310.20190218020001@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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 X-SW-Source: 2019-02/txt/msg00264.txt.bz2 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 >>> 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