Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <578F3C8F6DD3D411850600508BF320CA021C90F9@aries-exch1.uk.eu.corp.vizzavi.net> From: "Hanley, Dan" To: "'cygwin AT cygwin DOT com'" Subject: problem with cygpath.exe (1.3.18-1) when using ant 1.4.1 Date: Wed, 8 Jan 2003 15:07:03 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Hi I recently upgraded my Cygwin to 1.3.18-1 (on Win 2K SP1) and am now noticing interrmittent failures from cygpath. When I run ant I sometimes get the following error, other times it works fine(!): $ ant -version C:\cygwin\bin\cygpath.exe: *** can't create title mutex, Win32 error 6 Error: JAVA_HOME is not defined correctly. We cannot execute java hanleyd AT UKDB002443 /tools/assembler $ echo $JAVA_HOME c:\jdk1.3.1 hanleyd AT UKDB002443 /tools/assembler $ export JAVA_HOME=/cygwin/c/jdk1.3.1 hanleyd AT UKDB002443 /tools/assembler $ echo $JAVA_HOME /cygwin/c/jdk1.3.1 hanleyd AT UKDB002443 /tools/assembler $ ant -version C:\cygwin\bin\cygpath.exe: *** can't create title mutex, Win32 error 6 Error: JAVA_HOME is not defined correctly. We cannot execute java The offending line in the ant script seems to be: JAVA_HOME=`cygpath --unix "$JAVA_HOME"` but when I execute this from the commandline all is well: $ echo JAVA_HOME=`cygpath --unix "$JAVA_HOME"` JAVA_HOME=/cygdrive/c/jdk1.3.1 afaik nothing else has changed apart from upgrading Cygwin, has anyone else experienced this? Or have any pointers as to what I should be looking at? Regards Dan Vodafone Global Content Services Limited Registered Office: 80 Strand London WC2R 0RJ Registered in England No. 4064873 This e-mail is for the addressee(s) only. If you are not an addressee, you must not distribute, disclose, copy, use or rely on this e-mail or its contents, and you must immediately notify the sender and delete this e-mail and all copies from your system. Any unauthorised use may be unlawful. The information contained in this e-mail is confidential and may also be legally privileged. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/