ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Mark Bram <relaxed...@optusnet.com.au>
Subject Re: cygpath: can't convert empty path
Date Sun, 23 May 2004 13:59:25 GMT
Hi Yuji!

Thank you for the response!

>> Whenever I try to run any Ant build file in Cygwin, it seems to work ok
>> but I see this message first:
>> cygpath: can't convert empty path
>
> I guess something is wrong in your environment and empty path is
> passed to cygpath. Try to run:
>
> % /bin/sh -x `which ant`
>
> and find what is passed to cygpath.

Well, that was interesting..

/cygdrive/f/notes/ant/build
$/bin/sh -x `which ant`
+ [ -f /etc/ant.conf ]
+ [ -z  ]
+ rpm_mode=false
+ [ -z  ]
+ usejikes=false
+ [ -f /home/rob/.antrc ]
+ cygwin=false
+ darwin=false
+ uname
+ cygwin=true
+ [ -z  -o ! -d  ]
+ [ -d /opt/ant ]
+ [ -d /home/rob/opt/ant ]
+ PRG=/cygdrive/c/java/apache-ant-1.6.1/bin/ant
+ basename /cygdrive/c/java/apache-ant-1.6.1/bin/ant
+ progname=ant
+ [ -h /cygdrive/c/java/apache-ant-1.6.1/bin/ant ]
+ dirname /cygdrive/c/java/apache-ant-1.6.1/bin/ant
+ ANT_HOME=/cygdrive/c/java/apache-ant-1.6.1/bin/..
+ cd /cygdrive/c/java/apache-ant-1.6.1/bin/..
+ pwd
+ ANT_HOME=/cygdrive/c/java/apache-ant-1.6.1
+ true
+ [ -n /cygdrive/c/java/apache-ant-1.6.1 ]
+ cygpath --unix /cygdrive/c/java/apache-ant-1.6.1
+ ANT_HOME=/cygdrive/c/java/apache-ant-1.6.1
+ [ -n  ]
+ ANT_LIB=/cygdrive/c/java/apache-ant-1.6.1/lib
+ [ -z  ]
+ [ -n  ]
+ which java
+ JAVACMD=/cygdrive/c/java/j2sdk1.4.2_02/bin/java
+ [ -z /cygdrive/c/java/j2sdk1.4.2_02/bin/java ]
+ [ ! -x /cygdrive/c/java/j2sdk1.4.2_02/bin/java ]
+ false
+ [ -z  ]
+ LOCALCLASSPATH=/cygdrive/c/java/apache-ant-1.6.1/lib/ant-launcher.jar
+ [ -n  ]
+ false
+ true
+ cygpath --windows /cygdrive/c/java/apache-ant-1.6.1
+ ANT_HOME=c:\java\apache-ant-1.6.1
+ cygpath --windows
cygpath: can't convert empty path
+ JAVA_HOME=
+ cygpath --path --windows 
/cygdrive/c/java/apache-ant-1.6.1/lib/ant-launcher.jar
+ LOCALCLASSPATH=c:\java\apache-ant-1.6.1\lib\ant-launcher.jar
+ cygpath --windows /home/rob
+ CYGHOME=C:\cygwin\home\rob
+ [ -n C:\cygwin\home\rob ]
+ [ -n  ]
+ exec /cygdrive/c/java/j2sdk1.4.2_02/bin/java -classpath 
c:\java\apache-ant-1.6.1\lib\ant-laun
cher.jar -Dant.home=c:\java\apache-ant-1.6.1 
-Dcygwin.user.home=C:\cygwin\home\rob org.apache.t
ools.ant.launch.Launcher -lib 
.;C:\java\JMF21~1.1E\lib\sound.jar;C:\java\JMF21~1.1E\lib\jmf.jar
;C:\java\JMF21~1.1E\lib;.;C:\java\mysql-connector-java-3.0.6-stable;c:\java\JMF21~1.1\lib\sound
.jar;c:\java\JMF21~1.1\lib\jmf.jar;c:\java\JMF21~1.1\lib;C:\WINDOWS\java\classes;C:\cygwin\usr\
local\bin;C:\cygwin\usr\local\bin
Buildfile: build.xml

helloWorld:
      [echo] Hello World!

BUILD SUCCESSFUL
Total time: 2 seconds

/cygdrive/f/notes/ant/build
$

Cygpath is in that output, but it doesn't look empty..

Rob
:)


-- 
Robert Mark Bram
B.Comp.(Systems Development/Business Systems)
B.Net.Comp.(Hons)
Doctor of Philosophy Student

School of Network Computing
Faculty of Information Technology
Monash University
Peninsula Campus
McMahons Rd
Frankston, VIC 3199
AUSTRALIA

Phone:  61 3 9904 4394
Facsimile:  61 3 9904 4124
Email: robert.mark.bram@infotech.monash.edu.au


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message