ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.kitt.rei...@gmail.com>
Subject Re: invoking the logger in the constructor
Date Fri, 14 Oct 2005 11:30:29 GMT
The two init calls issue has been fixed in the ant-core SVN head.

If you want to use log in a constructor, you can use the (Project p)
constructor:

public MyCustomTask (Project project)
{
setProject(project);
System.out.println("Instanciated");
log("Hello");

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message