Bug 50788 - Project#createTask complains it wouldn't find task componentdef
Summary: Project#createTask complains it wouldn't find task componentdef
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core (show other bugs)
Version: 1.8.1
Hardware: All All
: P2 normal (vote)
Target Milestone: 1.8.3
Assignee: Ant Notifications List
URL: http://mail-archives.apache.org/mod_m...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-15 11:50 UTC by Stefan Bodewig
Modified: 2012-02-05 07:31 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Bodewig 2011-02-15 11:50:23 UTC
I can reproduce the error mentioned on the user list using the example
posted (see URL).
Comment 1 Stefan Bodewig 2011-02-15 11:57:21 UTC
the problem seems to be the fresh Project instance since the error goes away
if the existing instance is reused.  We must implicitly assume some
initialization-step has been performed prior to invoking createTask.
Comment 2 Stefan Bodewig 2012-02-05 07:31:08 UTC
fixed with svn revision 1240669