Update of /cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/jmx
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14374/xdoclet/modules/jboss/src/xdoclet/modules/jboss/jmx
Modified Files:
JBossXmlServiceTemplateSubTask.java
Log Message:
Don't overwrite an externally given template in the execute() method.
XDT-1227.
Index: JBossXmlServiceTemplateSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/jmx/JBossXmlServiceTemplateSubTask.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** JBossXmlServiceTemplateSubTask.java 10 Jul 2004 13:52:49 -0000 1.8
--- JBossXmlServiceTemplateSubTask.java 29 Jan 2005 14:07:29 -0000 1.9
***************
*** 9,13 ****
import xdoclet.XmlSubTask;
-
/**
* Generates a {servicefile}-service.xml file for JBoss mbean configuration.
This can help you see what you can set in
--- 9,12 ----
***************
*** 67,75 ****
public void execute() throws XDocletException
{
- setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE));
setDestinationFile(servicefile + "-service.xml");
setHavingClassTag("jmx:mbean");
! startProcess();
!
}
}
--- 66,72 ----
public void execute() throws XDocletException
{
setDestinationFile(servicefile + "-service.xml");
setHavingClassTag("jmx:mbean");
! super.execute();
}
}
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel