https://issues.apache.org/bugzilla/show_bug.cgi?id=49400
J.M. (Martijn) Kruithof <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #3 from J.M. (Martijn) Kruithof <[email protected]> 2010-06-08 13:53:28 EDT --- Setting the project is an explicit step in the lifecycle of each task, therefore you should always set the project instance, also when using ant task programatically, note that this is also valid for the Location and Target, these items are explicitly stated in the manual. These can be set using setProject, setLocation and setOwningTarget. The workaround you describe actually solves a part of the bug in your code, in such way that you are not hitting a bug anymore. Though the code still does not obey the lifecycle of the task. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
