[XDoclet-JIRA] Created: (XDT-1572) Hibernate "version" attribute must start with upper "V" - please fix doc

"Stefan Podkowinski (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Hibernate "version" attribute must start with upper "V" - please fix doc
------------------------------------------------------------------------

         Key: XDT-1572
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1572
     Project: XDoclet
        Type: Bug
  Components: Maven Plugin  
    Versions: 1.2.3    
 Reporter: Stefan Podkowinski
 Assigned to: xdoclet-devel (Use for new issues) 


According to 
http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/hibernate/HibernateSubTask.html

The "version" attribute of the hibernate sub task must be used to specify a target version for the hibernate config.

If specified in your project.properties like this the given value will just be ignored:
maven.xdoclet.hibernatedoclet.hibernate.0.version=3.0

Thats because the attribute acutally must be "Version" instead of "version":
maven.xdoclet.hibernatedoclet.hibernate.0.Version=3.0

Please fix the documentation for this attribute - its pretty nasty to find out whats wrong in this issue.


plugin.jelly:

<hibernate>
  <j:set var="prop_name" value="maven.xdoclet.hibernatedoclet.hibernate.${subelement_index}.Version"/>
  <jelant:setProperty name="Version" value="${context.getVariable(prop_name)}"/>




-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.