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=8942>.
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=8942

antcall task and ant task nested param and nested property name-value pair not 
being pass to target.

           Summary: antcall task and ant task nested param and nested
                    property name-value pair not being pass to target.
           Product: Ant
           Version: 1.5Beta1
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Running on W2K. Problem on both 1.5Beta1 and 1.6Apha(nightly).
1. Used the sample in the doc for antcall task.
<target name="default">
  <antcall target="doSomethingElse">
    <param name="param1" value="value"/>
  </antcall>
</target>
<target name="doSomethingElse">
  <echo message message="param1=${param1}"/>
</target>
2. Start ant to run this. Got the message:
param1=${param1}
instead of:
param1=value
3. Tried ant task instead:
<target name="default">
  <ant antfile="test.xml" target="doSomethingElse">
    <property name="param1" value="value"/>
  </antcall>
</target>
test.xml has the following:
<target name="doSomethingElse">
  <echo message message="param1=${param1}"/>
</target>

got the same result as #2.

Run these targets in 1.4.1 and got the right result!

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to