DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9259>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9259 property assignment not working within <sequential> Summary: property assignment not working within <sequential> Product: Ant Version: 1.5Beta1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This build file... <?xml version="1.0" ?> <project name="test" default="seq-test"> <target name="seq-test"> <property name="prop" value="val"/> <sequential> <echo message="prop = ${myprop}"/> </sequential> </target> </project> ... results int "prop = val" .. all fine and dandy. 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. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
