Bugs item #1098013, was opened at 2005-01-07 18:06
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1098013&group_id=31650

Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Alex Hildyard (ahildyard)
Assigned to: Nobody/Anonymous (nobody)
Summary: Call task no longer handles recursion in 0.85-rc1

Initial Comment:

The "call" task no longer appears to support reentrancy. 
Am I doing something wrong, or is this a genuine bug?

Sample project:

<?xml version="1.0" encoding="utf-8" ?> 
<project name="call" default="setupLoop">

        <property name="temp.loop" value="0"/>

        <target name="setupLoop">
                <call target="performLoop"/>
        </target>

        <target name="performLoop">
                <echo message="${temp.loop}"/>
                <property name="temp.loop" 
value="${int::parse(temp.loop)+1}"/>
                <call target="performLoop" 
if="${int::parse(temp.loop) &lt; 10}"/>
        </target>

</project>


Error:
"Call task cannot call its own parent"




----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2005-01-23 17:52

Message:
Logged In: YES 
user_id=707851

Alex,

This is something that we deliberately prevent in NAnt 0.85, 
is this something you really really really need ? ;-)

Gert

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1098013&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to