Hi all,

Has anyone gotten merge files working with XDoclet for the hibernate subtask?
I have all the merge directories set up and have confirmed that other
subtasks work with the merge files correctly, but no luck on merging a file
named 'hibernate-properties-<ClassName>.xml' for additional hbn.xml elements.

I've traced through the XDoclet code and find this in
MergeTagsHandler.java:122

     if (getEngine() instanceof TemplateParser) {
          ((TemplateParser) getEngine()).addMergeFile(mergeFilePattern);
     }

The hibernate subtask/doclet does have an engine set to TemplateParser.
Other subtasks that successfully generate do not use TemplateParser, but are
a TemplateEngine.  Maybe I should be familiar with how the distinction is
made, but I am not.  Or I may be way off in the weeds.

Any ideas appreciated...

-b


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to