There may be a further problem: Windows doesn't like path names
greater than 155 characters. I"ve found that installing JDKs and other
Java components under C:\Program and Files can cause you to go over
this limit. That plus the space issue can cause all sorts of issues.

The best way to handle this is to work with projects on the root of
the drive and to install JDKs on the root of the drive.

On Jan 11, 2008 10:21 AM, Bizard Nicolas (KIRO 41)
<[EMAIL PROTECTED]> wrote:
> Hi,
> there have been some known bugs in the past with Ant and Java for paths
> including "spaces".
> I'd give it a try with Java and Ant installed directly on C:
>
> Nicolas
>
>
> -----Original Message-----
> From: Chris Calvin [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 11, 2008 4:04 PM
> To: [email protected]
> Subject: ant setup
>
>
>
> I'm using Vista with cygwin and ant 1.7..  When I create a build.xml and
> run ant, I get this:
>
> cygpath: can't convert empty path
> Unable to locate tools.jar.  Expected to find it in C:\Program
> Files\Java\jre1.6.0_03\lib\tools.jar
>
> While I have a C:\P F\Java\jre1.6.0_03, I also have "C:\Program
> Files\Java\JavaEE 5 SDK"..  Here is my environment:
>
> $ echo $CLASSPATH
> /cygdrive/C/Program\ Files/Apache\ Software\ Foundation/Apache\ Ant\
> 1.7.0/lib:/cygdrive/C/Program\ Files/Apache\ Software\
> Foundation/Tomcat\ 6.0/lib:/cygdrive/C/Program\ Files/Java/JavaEE\ 5\
> SDK/jdk/lib
>
> $ echo $JAVA_HOME
> /cygdrive/c/Program\ Files/Java/JavaEE\ 5\ SDK/jdk
>
> $ echo $ANT_HOME
> /cygdrive/C/Prorgram\ Files/Apache\ Software\ Foundation/Apache\ Ant\
> 1.7.0/bin
>
> Can anyone please help?  I'd like to get up and running and am,
> unfortunately, having difficulty.
>
> Thank you!
>
> Chris
>
> _______________________________________________
> No banners. No pop-ups. No kidding.
> Make My Way  your home on the Web - http://www.myway.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
--
David Weintraub
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to