This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
problem with cygpath.exe (1.3.18-1) when using ant 1.4.1
- From: "Hanley, Dan" <Dan dot Hanley at vodafone dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Wed, 8 Jan 2003 15:07:03 -0000
- Subject: problem with cygpath.exe (1.3.18-1) when using ant 1.4.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@UKDB002443 /tools/assembler
$ echo $JAVA_HOME
c:\jdk1.3.1
hanleyd@UKDB002443 /tools/assembler
$ export JAVA_HOME=/cygwin/c/jdk1.3.1
hanleyd@UKDB002443 /tools/assembler
$ echo $JAVA_HOME
/cygwin/c/jdk1.3.1
hanleyd@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/