It doesn't matter if you ues forward or backslashes, actually.

I would recommend using 'location' instead of 'value' for that particular
<property> task though - I always use location when dealing with file or
directory paths.  Also, I'd recommend not hard-coding an absolute path into
a build file - pull it out to a properties file.

As for the problem you're having with colons - I don't know - I've never
experienced such problems, and I mostly use Windows platforms for my
development.

    Erik


----- Original Message -----
From: "St�phane MOR" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Sunday, March 31, 2002 11:27 AM
Subject: Re: windoze absolute path messes up CLASSPATH setting


>
> ----- Original Message -----
>
> > The colon in windoze absolute paths with drive letters (like C:/) messes
> up setting the java CLASSPATH.  Does anyone know a solution for this
besides
> using relative paths (the needed jar files are on a different drive letter
> than the build dir):
> >
> > <property name="ejb.lib"      value="C:/oc4j_extended/j2ee/home/ejb.jar"
> />
>
> I would try :
> value="C:\oc4j_extended\j2ee\home\ejb.jar" as "windoze" uses backslashes.
>
> Stephane
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to