ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen New" <s...@mincom.com>
Subject Spaces in classpath
Date Fri, 09 Mar 2001 02:15:21 GMT
Hello,

Excuse me if this question has been asked before, but I couldn't see it on
the FAQ page.

My execution of the "java" built-in task fails because my the file paths in
the classpath have spaces in them. (Running on Windows NT). Basically I want
to simulate putting double-quotes around the classpath, like:

java -cp "f:\Filepath With Spaces" com.mycompany.MyClass

How do I do this? Or do I have to remove the spaces from my filepath?

Thanks.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stephen New                                 ext. 3534
Software Engineer                Phone: 617 3303 3534
Applications Development           Fax: 617 3303 3257
Mincom Limited                         www.mincom.com
<http://www.mincom.com>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



-- 
This transmission is  for the intended  addressee only and is confidential
information.  If you  have  received  this  transmission in error,  please 
delete  it and  notify  the sender.  The contents of this  e-mail are  the 
opinion of the writer only and are not endorsed by Mincom Limited unless
expressly stated otherwise.

Mime
View raw message