This is Bugzilla
Bugzilla Version 2.22.1-debian2
View Bug Activity | Format For Printing | XML | Clone This Bug
Pleaes see description of the pronblem at http://lists.wyona.org/pipermail/yanel-development/2010-March/004511.html
I think the problem is located within src/build/java/org/wyona/yanel/ant/MergeResourceTypesConfigsTask.java
I changed: if (!resourceTypeExists(srcAttr, rootElement)) { to: if (srcAttr == null || srcAttr.equals("") || !resourceTypeExists(srcAttr, rootElement)) { and it seems to work as expected with default development build settings for me. The problem was that for a "package" resource-type there is no 'src' attribute, srcAttr gets empty but this also happens for all other "package" resource-types, so the RT is seen as a duplicate by the 'resourceTypeExists' method. AFAICS this is broken since r42497.
sounds great :-) Can you attach a patch and I will be happy to test/review it as well? Thanks Michi
Created an attachment (id=1294) [details] fix suggested in comment 2 with some debug logging
I committed the patch in r49096 (debug logging was removed): we needed it badly for our project! I will monitor Hudson for failures in the next minutes, hope it's OK that way.