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=42263>. 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=42263 Summary: built-in property ${ant.version} not set in a call with subant Product: Ant Version: 1.7.0 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] when calling subant without inheritall="true" ant.version is not set. example top level build file: <target name="test1"> <echo message="${ant.project.name}" /> <echo message="${ant.version}" /> <subant target="test" buildpathref="subpath" /> </target> and in the build file specified by the path "subpath": <target name="test1"> <echo message="${ant.project.name}" /> <echo message="${ant.version}" /> </target> The output of "ant test" is: test project Apache Ant version 1.7.0 compiled on December 13 2006 test project subcomponent ${ant.version} -- 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]