ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: [newbie] How to display values pointed to by refid
Date Sat, 04 May 2002 16:14:02 GMT

----- Original Message ----- 
From: <mls@VegInfo.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Saturday, May 04, 2002 08:39
Subject: Re: [newbie] How to display values pointed to by refid


> In case anybody is wondering what the problem/fix was, it is
> even more mysterious. I had supplied catalina.home as
> F:\jwsdp-1_0-ea2 in build.properties file. When ant
> processed this file, it stripped "\" character to make
> catalina.home=F:jwsdp-1_0-ea2 (essentially made it relative
> path, instead of absolute path). This relative value was used
> in the creation of a path (pointed to refid compile.classpath).
> Now Windows prefixed current working directory to catalina.home
> value resulting in the "offending entry." Whew! (At least this
> is what I suspect happened. Your reality may be different! :-)
> 
> F:\\jwsdp-1_0-ea2 (an additional "\") in build.properties
> file fixed the problem.

not that mysterious; it is the normal behaviour of Java.util.properties. 

Use forward slashesand all is well


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message