delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/08/11:29:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <578F3C8F6DD3D411850600508BF320CA021C90F9@aries-exch1.uk.eu.corp.vizzavi.net>
From: "Hanley, Dan" <Dan DOT Hanley AT vodafone DOT com>
To: "'cygwin AT cygwin DOT com'" <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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019