Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1443
    Summary: Hibernate-Task does not reinitialize on multiple use.
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Hibernate Module
   Versions:
             1.2.3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Alexander Zinniker

    Created: Thu, 23 Jun 2005 10:03 AM
    Updated: Thu, 23 Jun 2005 10:03 AM

Description:
When using the HibernateDocletTask two times in the same Ant script, it seems 
that the settings of the first execution still are present at the time of the 
second execution.

To clarify why I want to do this: I have around 40 mapped classes in whichs 
mapping files the very same fragment has to be merged. This fragment should not 
be included in the mappings of a couple of classes, which map to views (the 
included file contains the mappings for creationDate/createdBy, etc.).

If I run it in the order below, the mergedir is still set for the second 
execution, which leads to wrong mapping files. If I reverse the order, it works 
ok.

<hibernatedoclet ... >
<hibernate version="3.0" mergedir="./to-merge"/>                                
</hibernatedoclet>              

<hibernatedoclet ... >
<hibernate version="3.0">                               
</hibernatedoclet>              

What is not that nice anyway is: No support for fileset in the hibernate-Tag. 
It would make life easier, if I just could have one hibernatedoclet-Task 
including several hibernate-Tasks (and in the hibernate-Tasks I define in a 
fileset which files have to be included or excluded). In the hibernatecfg-Task 
I should have also the possibility to define a fileset to include everything in 
there.

Ok, the last paragraph is really nice to have. 
It works also the way it is and of course makes life a lot easier. Thanks for 
the good job!


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