delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/14/20:16:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4C16CAFB.3040505@gmail.com>
Date: Tue, 15 Jun 2010 01:36:11 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.5: ant no longer finds python: upgrade from 1.5 suspected
References: <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5561 AT ex2 DOT AdBriteInc DOT local> <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5563 AT ex2 DOT AdBriteInc DOT local>
In-Reply-To: <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5563@ex2.AdBriteInc.local>
X-IsSubscribed: yes
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

On 15/06/2010 01:12, Bill Ross wrote:
> 

>> Could ant be thrown off by a 1.7 upgrade? The upgrade is the only big
>> change since things were last working, and another person who upgraded
> is >showing the same symptom (no one else handy to compare with).
>> An ant build setup no longer finds python. It seems like it used
> cygwin's >python before, but ant can't find python now.  [snip]

> Installing python for windows solved it, plus adding it to the windows
> path.

  Probably caused because /usr/bin/python is just a symlink to
/usr/bin/python2.5.exe, which can't be launched by a windows process like Ant;
the easier solution if so would be to tell ANT to execute "python2.5.exe"
directly, instead of just plain "python", in the <exec executable=../> tag.

    cheers,
      DaveK

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