This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]