DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42715>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42715 Summary: ant.version property lost in imported build scripts Product: Ant Version: 1.7.0 Platform: Other OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Build Process AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] The ant.version property is unset in imported build scripts using ANT 1.7. I have a build file that uses an import "<import file="newBuild.xml"/>". In this file, we do a check to see if the user is using the correct version of ANT using the following: <condition property="ant.version.okay"> <or> <contains string="${ant.version}" substring="1.6"/> <contains string="${ant.version}" substring="1.7"/> </or> </condition> The property was never set, so I checked to see if the property was set by doing this: <echo> ANT VERSION: ${ant.version} </echo> And this is exactly what appeared on the output: ANT VERSION: ${ant.version} So, it looks like the property gets lost somehow. I tested this on two different boxes, so I'm pretty sure this is a bug. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]