X-Recipient: archive-cygwin@delorie.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.korn.cygwin@gmail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.7.5: ant no longer finds python: upgrade from 1.5 suspected
References: <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5561@ex2.AdBriteInc.local> <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5563@ex2.AdBriteInc.local>
In-Reply-To: <27D7F4C907BCB14FAF95CC4E25AB1FE6AF5563@ex2.AdBriteInc.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

