This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7.5: ant no longer finds python: upgrade from 1.5 suspected
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