Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1435 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1435 Summary: Module list gets reset but DocletTask.subtaskMap isn't Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: Core Versions: 1.2.3 Assignee: xdoclet-devel (Use for new issues) Reporter: Kenney Westerhof Created: Wed, 15 Jun 2005 10:04 AM Updated: Wed, 15 Jun 2005 10:04 AM Environment: windows/all Description: This is somewhat related to XDT-879. In version 1.2.3, ModuleFinder.resetFoundModules is reset, but the DocletTask.subtaskMap and subtaskNameMap are not. This results in re-scanning for modules for each DocletTask, which is good. However, when you use ejbdoclet and webdoclet together, you get an AMBIGUOUS_SUBTASK_DEFINITION error for 'service-endpoint', which is in both the ejb and the web module (ServiceEndpointSubTask). This is because when one task is finished (say ejbdoclet) and the next one is initializing (say webdoclet), the static subtaskMap is still there containing the subtasks of ejbdoclet (which contains 'service-endpoint'. DocletTask.registerModules then sees the duplicate taskname and different packages for the classes, and bails. Btw, a fix is to set subtaskMap and subtaskNameMap to null - works fine! The strange thing is that this doesn't normally occur in Ant, but i discovered this when running a custom app embedding ant (my maven 2 implementation of the xdoclet plugin). By the slight chance that this is not a bug, can someone tell me how to do it correctly then? See http://www.neonics.com/projects/maven-xdoclet-plugin/ for the source. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel