ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <>
Subject Re: How do I log from a custom FileNameMapper?
Date Fri, 05 Nov 2004 16:38:40 GMT
extend ProjectComponent implement FileNameMapper

or provide a public method void setProject(Project project),
this will get called by the ant core runtime to tell the filemapper the
current project.

Peter wrote:

>I'm writing a custom FileNameMapper, and I'd like to display information 
>to the log for verbose mode.  A FileNameMapper is just an interface, and 
>not a ProjectComponent, so I'm not sure how to get ahold of the Project 
>object to call the log method.  Is there some sort of static method to 
>access the current Project?  Any other suggestion?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message