Bug 50788

Summary: Project#createTask complains it wouldn't find task componentdef
Product: Ant Reporter: Stefan Bodewig <bodewig>
Component: CoreAssignee: Ant Notifications List <notifications>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.8.1   
Target Milestone: 1.8.3   
Hardware: All   
OS: All   
URL: http://mail-archives.apache.org/mod_mbox/ant-user/201102.mbox/%3C1297762533509-3385725.post@n5.nabble.com%3E

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