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=10928>.
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=10928
antcall doesn't inherit parameters when passed explicitly.
Summary: antcall doesn't inherit parameters when passed
explicitly.
Product: Ant
Version: 1.5
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Core tasks
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: rajiv.mordani@sun.com
CC: rajiv.mordani@sun.com
In the antcall task the attribute inheritAll is set to false. However I
explicitly pass a property when invoking the particular target. The
property is being ignored. For e.g
In the build file in a directory foobar that I am invoking from a top
level build file the following is defined -
<target name="dist">
<antcall inheritAll="false" target="foobaz">
<param name="dist.dir" value="${dist.name}" />
</antcall>
</target>
However from the parent build file I invoke
<ant dir="foobar" target="dist">
<property name="build.dir" value="build/foobar"/>
<property name="dist.dir" value="dist/foobar"/>
</ant>
The dist.dir is not overriden in the build file in the foobar directory.
This used to work with ant 1.4.1. Looks like it is broken in ant 1.5. Is
there any workaround / fix for this?
- Rajiv
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
|