ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 29052] getProject() method returns null when called from Custom Tasks
Date Wed, 21 Oct 2009 19:31:28 GMT

--- Comment #11 from Stefan Bodewig <> 2009-10-21 12:31:24 UTC ---
gzv, adding to an issue that is already RESOLVED won't give you much

Let me assure that getProject() in general works as expected when invoked
inside a task's execute method - provided that task instance has been created
by Ant itself, for example because it is part of the build file.  If you create
a task instance yourself via Java code, then you are responsible of invoking
setProject in the first place.

This is most likely a user error and I'd recommend you approach the user
mailing list.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message