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=qws0/5BT5HOsbbtE5gPHNoXelSitTm G9J20iGhOduKB8D72pGf+aAufYvTy2gxPQhLSJ8wIASUQ0Spv5jy0Gxk1HU/FSOC n5DXuDgmU4oSsCIRZABNKJfoCww7N4WC+LvCqU6faqPJft+iBDRYcJ0HdXBQH/dA dGhEg4ZaQJScU= 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=xFismanoXwC5WU4YRyeV/8/NY2c=; b=gDye c0/+QGMPtUr5lm03n1u0G0TZmTtO0ad8nZ6Aok57Nl82C1+7BBJefL97iZ4dpeMd tZRZMcJclh/b03VjdmoEfddnOW1euocagLshcKv8bB0m00qktelJxrd1+t9wRPCv kuoxnqRAfeflUmDEUQh6bVyqOGcIstJ5kP69/Ns= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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,MIME_BASE64_BLANKS autolearn=no version=3.3.2 spammy=H*UA:Win64, H*UA:x64, H*u:Win64, H*u:x64 X-HELO: blaine.gmane.org To: cygwin AT cygwin DOT com From: Franz Fehringer Subject: Re: antrun versus wsl versus cygwin Date: Mon, 18 Feb 2019 10:25:42 +0100 Message-ID: References: <0f26a1aa-7c70-5201-5212-5f3df54a50fa AT gmail DOT com> <1968849310 DOT 20190218020001 AT yandex DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x1I9Q6cs002346 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. > > in the antrun block gives [echo] XXX: C:\Projekte\dev\bin\gmake41;C:\Tools\VisualStudio\2017\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64;C:\Tools\VisualStudio\2017\VC\VCPackages;C:\Tools\VisualStudio\2017\MSBuild\15.0\bin\Roslyn;C:\Tools\VisualStudio\SDK\10\bin\10.0.17763.0\x64;C:\Tools\VisualStudio\SDK\10\bin\x64;C:\Tools\VisualStudio\2017\MSBuild\15.0\bin;C:\Tools\VisualStudio\2017\Common7\IDE;C:\Tools\VisualStudio\2017\Common7\Tools;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Tools\Perl\site\bin;C:\Tools\Perl\bin;C:\Tools\Cygwin\usr\local\bin;C:\Tools\Cygwin\bin;C:\Tools\apache-maven-3.6.0\bin;C:\Tools\apache-ant-1.10.5\bin;C:\winapp\openjdk\java-1.8.0-openjdk-1.8.0.191.x86_64\bin;C:\Tools\Depends64;C:\Tools\IBM\DB2\BIN;C:\Tools\IBM\DB2\FUNCTION;C:\Programs\ibm\gsk8\lib64;C:\Windows\System32\wbem;C:\Windows\System32;C:\Windows;.;C:\Projekte\dev\bin;C:\Projekte\dev\bin\userscripts;C:\Projekte\dev\LF4\LF19.1.0\utils;C:\dev\LF4\LF19.1.0\src\lfjee\lf-lc\ipl-core-lc\ipl-core-lc-sc\ipl-core-lc-sc-server\target\tbfserver\lib\cpp [exec] W i n d o w s S u b s y s t e m f o r L i n u x h a s n o i n s t a l l e d d i s t r i b u t i o n s . [exec] D i s t r i b u t i o n s c a n b e i n s t a l l e d b y v i s i t i n g t h e M i c r o s o f t S t o r e : [exec] h t t p s : / / a k a . m s / w s l s t o r e i.e. 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