ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: AW: How to log out of <scriptdef> with task name?
Date Wed, 07 Jul 2004 16:19:09 GMT
Jan.Materne@rzf.fin-nrw.de wrote:

>yep :)  
>IMO <scriptdef> should be most similar to <script> as it can be.
>  
>
<script> IMO defines too many things - all references, targets and 
properties,
polluting the namespace of the script (and possibly making scripts a 
little slower
than they should be).

"project" allows access to the current project and its references and 
properties (? and targets?).

"self" is needed to provide a proper task name for log entries.

Peter.

>Jan
>
>  
>
>>-----Urspr√ľngliche Nachricht-----
>>Von: Peter Reilly [mailto:peterreilly@apache.org]
>>Gesendet am: Mittwoch, 7. Juli 2004 10:13
>>An: Ant Users List
>>Betreff: Re: How to log out of <scriptdef> with task name?
>>
>>It looks like "self" is  something to add to scriptdef.
>>
>>Peter
>>
>>Alexey N. Solofnenko wrote:
>>
>>    
>>
>>>Hello,
>>>
>>> Both bare print and project.log() do not output task name. 
>>>      
>>>
>><script> 
>>    
>>
>>>has a reference to "self", but <scriptdef> does not. What 
>>>      
>>>
>>is the way 
>>    
>>
>>>of printing in <scriptdef> tasks?
>>>
>>>- Alexey.
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>    
>>
>>>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
>>    
>>
>
>
>  
>


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


Mime
View raw message