ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Hansen" <E...@VSP.com>
Subject RE: spaces and path definition
Date Tue, 17 Jul 2001 20:51:10 GMT
An alternative that I use instead of quoting the paths that contain spaces
is to use the 8.3 format of the path.  For example, the path c:\Program
Files would be c:\progra~1.  The only trick is if the first 6 characters of
two or more subdirectories are the same.  In this case the numeric suffix is
different for each of the matching subdirectories.  I find this technique
useful to keep classpaths and paths down to a reasonable length.

-----Original Message-----
From: T Master [mailto:tmaster@iknowledgeinc.com]
Sent: Tuesday, July 17, 2001 12:06 PM
To: ant-user@jakarta.apache.org
Subject: Re: spaces and path definition


Used double quotes around the c:\Program Files?

You should also use \\  instead of '\' in DOS paths.

No excerpt was pasted so I ask.


----- Original Message -----
From: "Shamberger, Michael" <Michael.Shamberger@morganstanley.com>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, July 17, 2001 11:20 AM
Subject: spaces and path definition


> Hi,
>
> I am trying to build a path definition that I pass to the weblogic wlrun
> task.  I am running this on NT and one of the entries in the classpath I
am
> trying to build has a space in it.  This is a 3rdparty database client jar
> whose standard installation is into c:\Program Files.  This space in the
> classpath is causing wlrun to fail.  Any ideas?
>
> Mike



Mime
View raw message