ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Property not substituting value in telnet task
Date Tue, 12 Mar 2002 17:50:08 GMT

----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, March 12, 2002 05:31
Subject: Re: Property not substituting value in telnet task


> On Tue, 12 Mar 2002, steven hale <steven.hale@sbab.se> wrote:
>
> > What's wrong with this?:
> >
> > <property name="myDir"  value="aaa123">
> > <telnet userid="user1" password="myPassword" server="ftpname">
> >           <read>&gt;</read>
> >           <write>cd ${myDir}</write>
> > </telnet>
>
> Nothing's wrong with your syntax (except for the typo), <telnet>
> simply doesn't expand properties in nested text, but it should do so
> for attributes.
>
>          <write string="cd ${myDir}" />
>

aah, that explains the outstanding bugrep on this subject. We either need to
doc this or tweak it so that it does expand properties in nested text.




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