ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29052] getProject() method returns null when called from Custom Tasks
Date Wed, 21 Oct 2009 19:31:28 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=29052

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

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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message