ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: 1.5.1b - assigning properties within <sequential>
Date Tue, 21 May 2002 00:44:41 GMT

----- Original Message ----- 
From: "Mike Burke" <mikeb@access.com.au>
To: <ant-user@jakarta.apache.org>
Sent: Monday, May 20, 2002 4:07 PM
Subject: 1.5.1b - assigning properties within <sequential>


> 
> Hi all, can someone tell me whether this is a bug or a feature?
> I've searched the list archive and FAQ but haven't found anything.
> 

> However, if I move the property assingment inside
> the sequential block, like so:
> 
>   <?xml version="1.0" ?>
>   <project name="test" default="seq-test">
>     <target name="seq-test">
>        <sequential>
>     <property name="prop" value="val"/>
>           <echo message="prop = ${myprop}"/>
>        </sequential>
>     </target>
>   </project>
> 
> .. the result is "prop = ${myprop}" - ie the assignment
> does not hold - although the Ant DEBUG output seems
> to indicate that there is an assigment taking place:
> 
>    Setting project property: prop -> val
> 
> Tested and reproduced on Win2000 + SPARC Solaris 8.
> 
> Any comments?

Looks like a bug to me. File it


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