ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Odd problem with pathconvert
Date Wed, 06 Mar 2002 17:12:59 GMT
--- "Bob Hays, Computer Geek" <electricbob@telocity.com> wrote:
> I'm using pathconvert to put a new-line separated classpath into a
> config file for a program (DashOPro in this case).  So, I do this:
> 
> <pathconvert pathsep="${line.separator}" property="TEMP"
> refid="classpath"/>
> 
> followed by a replace tag:
> 
> <replace file="file.dop" token="@CLASSPATH@" value="${TEMP}" />
> 
> and I get double new lines on each line substituted - anyone know why?

Does changing your <replace> task to the following fix it for you:
    <replace file="file.dop">
      <replacefilter token="@CLASSPATH@" value="${TEMP}"/>
    </replace>

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

--
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