[hibernate-issues] [Hibernate-JIRA] Created: (HBX-937) warn users if using default templates, rather than templates (not) found in templatepath

Donall Osuilleabhain (JIRA) noreply at atlassian.com
Wed May 2 10:58:04 EDT 2007


warn users if using default templates, rather than templates (not) found in templatepath
----------------------------------------------------------------------------------------

                 Key: HBX-937
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-937
             Project: Hibernate Tools
          Issue Type: Improvement
          Components: ant, hbm2java
    Affects Versions: 3.2beta9
         Environment: hibernate tools 3.2 beta 9, ant, freemarker templates
            Reporter: Donall Osuilleabhain
            Priority: Minor


Further to JIRA issues HBX-382 and HBX-383, may i suggest that when the hbm2java exporter does not find templates in the directory specified in attribute "templatepath", a warning is outputted to the user to the effect that "No templates were found in the specified tempaltepath: <templatepath-value>, using default templates.", before the exporter proceeds to use the default templates it finds somewhere else.

Not for nothing, the warning could also say that the exporter expects to find the template within a sub-directory called "pojo", and to be called Pojo.ftl, because IMHO this is not evident from the documentation available.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list