The following issue has been updated: Updater: Eric McIntyre (mailto:[EMAIL PROTECTED]) Date: Tue, 11 Jan 2005 11:43 AM Comment: JMXTest.zip holds a simple test application to demonstrate the bug and the fix. It uses an .xdt that is modified to included a <depends> tag inside the <mbean> tag.
1) Unzip to the directory of your choice 2) Change directory to <unzip dir>/JMXTest 3) Run "ant -Dxdoclet.basedir=/path/to/unpatched/xdoclet/lib" 4) The resulting /src/META-INF/jboss-service.xml will not have the <depends> tag After applying my patch: 1) Run "ant -Dxdoclet.basedir=/path/to/patched/xdoclet/lib" 2) The resulting /src/META-INF/jboss-service.xml *will* have the <depends> tag Changes: Attachment changed to JMXTest.zip --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1227?page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1227 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1227 Summary: jbossxmlservicetemplate subtask ignores templateFile/templateUrl attributes Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: JBoss Module Versions: 1.2.2 1.3 Assignee: xdoclet-devel (Use for new issues) Reporter: Eric McIntyre Created: Mon, 10 Jan 2005 8:35 PM Updated: Tue, 11 Jan 2005 11:43 AM Environment: Win2K, Eclipse 3.0/MyEclipse 3.8.3, Ant 1.6.2 Description: The <jbossxmlservicetemplate/> subtask of <jmxdoclet> is ignoring the templateFile & templateUrl attributes. The execute method of xdoclet.modules.jboss.jmx.JBossXmlServiceTemplateSubTask is always setting templateUrl to getClass().getResource(DEFAULT_TEMPLATE_FILE). --------------------------------------------------------------------- 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel