Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1442

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1442
    Summary: Generator Tag in hibernate doclet doesn't merge
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: 1 minute
 Time Spent: Unknown
  Remaining: 1 minute

    Project: XDoclet
 Components: 
             Hibernate Module
   Versions:
             1.2.3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: bobby rullo

    Created: Wed, 22 Jun 2005 3:34 PM
    Updated: Wed, 22 Jun 2005 3:34 PM
Environment: All

Description:
When using a generator of type "foreign" a merge needs to occur. 

The XDt:merge tag looks for a file called:

hibernate-generator-params-{0}.xml

but the comments say to generate:

hibernate-generator-params-<XDtClass:className />.xml

The upshot of which was that the merge was never happening. This was solved by 
changing: 

<XDtMerge:merge file="hibernate-generator-params-{0).xml">   

one line 31 of hibernate.xdt to:

<XDtMerge:merge file="hibernate-generator-params-<XDtClass:className />.xml">

Sorry for not providing patch files, etc, but I'm normally not an XDoclet 
contributor, just someone who wanted to share a fix.

Bobby



---------------------------------------------------------------------
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

Reply via email to