ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamlesh Nanda" <kam1...@home.com>
Subject Re: spaces and path definition
Date Wed, 18 Jul 2001 03:26:41 GMT
Hi,
 the solution is certainly what Bradley and Shankar suggested i.e. to use
Progra~1 and \ in place of /. But Progra~1 may or may not be the right
directory name in case u have other similar directories in the root. So go
to the prompt, change the current directory to Program Files by giving cd
Program* <return> and then open edit, by command edit<return>. Exit out of
edit editor and u will see that on the prompt has changed to the actual
non-space containing name. Use this path in ur file.

Kam
----- Original Message -----
From: "Shamberger, Michael" <Michael.Shamberger@morganstanley.com>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, July 17, 2001 12:29 PM
Subject: RE: spaces and path definition


> Here is an example of what I am trying to do:
>
> <property name="db2.home" value="c:/Program Files/SQLLIB/cc/c2"/>
>
> <path id="run.class.path">
>       <path refid="vendor.class.path"/>
>       <pathelement path="${basedir}/${weblogic.name}/classes"/>
>       <pathelement path="${basedir}/${weblogic.name}/properties"/>
>       <pathelement path="${weblogic.home}/lib/jConnect.jar"/>
>       <pathelement path="${db2.home}/db2java.zip"/>
>       <path refid="lib.class.path"/>
>       <path refid="java.class.path"/>
> </path>
>
> Then, when I start weblogic with wlrun I am getting an error due to space
in
> the classpath
>
>
> MORGAN STANLEY DEAN WITTER|ONLINE
> Michael Shamberger
> Release Engineer
> [415-344-9338 -W]
> [415-290-0428 -C ]
>
>
>
>
> -----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