ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: Taskdef in in macrodef
Date Fri, 10 Dec 2004 13:31:14 GMT
Ivan Ivanov wrote:

>Dear Colleagues,
>
>I am currently writing some macrodef that will be used
>in our team and I wonder abouth the follwing
>situation: let's have
><marcrodef name="mymarcodef">
>    <sequential>
>    <path id="cp">
>        <fileset dir="dir" includes="*.jar"/>
>    </path>
>    <taskdef resource="taskdef.properties"
>classpathref="cp">
>    <!-- Use tasks from taskdef.properties here --->
>    </sequential>
></macrodef>
>
>My question is: if the above macrodef is called
>sevetal times, will the taskdef will be "instantiated"
>every time or only for the first time and its
>"instance" will be reused?
>  
>
It will be

"instantiated" each time.

Peter


>Thank you in advance
>Ivan
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Mail - Helps protect you from nasty viruses. 
>http://promotions.yahoo.com/new_mail
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message