Inproper "hibernateInheritanceStrategy" causes generation to hang
-----------------------------------------------------------------

         Key: HIB-156
         URL: http://jira.andromda.org/browse/HIB-156
     Project: Hibernate Cartridge
        Type: Bug
    Versions: 3.1    
 Environment: Windows XP Prof, JDK 1.4.2, Ant 1.6.2-1.6.5
    Reporter: Peter Empen
 Assigned to: Carlos Cuenca 
    Priority: Minor


Undefined properties or properties with unallowed values are not handled 
properly and may cause the generation process to hang. For instance, if the 
configuration file contains

<namespace name="hibernate">
  <properties>
    <property 
name="hibernateInheritanceStrategy">${hibernateInheritanceStrategy}</property>

and ${hibernateInheritanceStrategy} is not defined but the model containes a 
generalization, the last output of excecution is just

2005-12-05 16:06:11,788 INFO [AndroMDA] - validating model -

and the generation process hangs. In this case, defining

    <property name="hibernateInheritanceStrategy">subclass</property>

helps.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

Reply via email to