ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <ECirame...@emptoris.com>
Subject RE: search and replace...
Date Wed, 27 Aug 2003 19:58:42 GMT
In that bug report, Conor says:

Consider this

<project name="11585" default="test">
  <target name="test">
    <property name="jbossHostname" value="bar"/>
    <echo><![CDATA[<attribute
name="BindAddress">${jbossHostname}</attribute>]]></echo>
  </target>
</project>

The replacement happens here. The only question is whether to preserve the
current incorrect behaviour for backward compatibility and enable the
correct
behaviour with an attribute or just fix it. I vote to just fix it.

Is this a legitimate work around?  I can't seem to make it happen...

-----Original Message-----
From: Antoine Levy-Lambert [mailto:antoine@antbuild.com]
Sent: Wednesday, August 27, 2003 3:40 PM
To: Ant Users List
Subject: Re: search and replace...


have a look at this bug report.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11585
I guess it describes your problem.
You might want to add yourself as cc on the bug report and vote for the bug.
Cheers,
Antoine

----- Original Message -----
From: "Ciramella, EJ" <ECiramella@emptoris.com>
To: "'Ant Users List'" <user@ant.apache.org>
Sent: Wednesday, August 27, 2003 9:17 PM
Subject: search and replace...


> Is there a way to use a variable as a replacetoken?
>
> <replacetoken>${value.to.be.replaced}</replacetoken> always results in the
> variable not being expanded...
>



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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message