Just add a force="true" attribute on the call task.

Gert
----- Original Message ----- 
From: "Brant Carter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 25, 2003 9:00 PM
Subject: [Nant-users] Executing a target more than once


> It seems that a target will only get executed once in any project.
>
> Example:
>
> <project name="test" default="test">
>
> <target name="test">
> <echo message="in test"/>
> <call target="test1"/>
> <call target="test2"/>
> </target>
>
> <target name="test1">
> <echo message="in test1"/>
> <call target="test2"/>
> </target>
>
> <target name="test2">
> <echo message="in test2"/>
> </target>
>
>
> </project>
>
> The output from this is
>
>
> test:
>
>      [echo] in test
>
> test1:
>
>      [echo] in test1
>
> test2:
>
>      [echo] in test2
>
>
> Not
> Test 1
> Test 2
> Test 2 <-This one is missing.
>
> Is there anyway to force a target to be excuted more than once?
>
> brant
> ...
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
> at the same time. Free trial click
here:http://www.vmware.com/wl/offer/358/0
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to