[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6723) Exporters properties names are very strange names in compare with Hibernate Tools core Ant names
Vitali Yemialyanchyk (JIRA)
jira-events at lists.jboss.org
Wed Jul 28 08:15:33 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12541530#action_12541530 ]
Vitali Yemialyanchyk commented on JBIDE-6723:
---------------------------------------------
the bug test case:
1) create Hibernate Codegen config, select "Generic Exporter" and setup its 2 properties as screenshot-2, save Hibernate Codegen config;
2) Export this Hibernate Codegen config as Ant Code Generation script;
3) the result script is:
<project name="CodeGen" default="JdbcCodeGen">
....
<target name="JdbcCodeGen" depends="generateHibernatePropeties">
<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<configuration configurationFile="C:\RHDS\_ws\runtime-hibernate_plugins4\qwert\src\hibernate.cfg.xml_4_rename" propertyFile="${hibernatePropFile}">
<fileset dir="." id="id">
<include name="C:\RHDS\_ws\runtime-hibernate_plugins4\qwert\src\com\indexbg\delo\db\AdmProcEtap.hbm.xml"/>
<include name="C:\RHDS\_ws\runtime-hibernate_plugins4\qwert\src\com\indexbg\delo\db\AdmProcEtapIzp.hbm.xml"/>
</fileset>
</configuration>
<classpath>
<path location="${build.dir}"/>
</classpath>
<hbmtemplate for_each="entity" outputdir="c:\temp"/>
</hibernatetool>
</target>
</project>
4) <hbmtemplate for_each="entity" outputdir="c:\temp"/> - has a wrong attributes "for_each" and "outputdir" should be "foreach" and "destdir"
> Exporters properties names are very strange names in compare with Hibernate Tools core Ant names
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-6723
> URL: https://jira.jboss.org/browse/JBIDE-6723
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Hibernate
> Affects Versions: 3.2.0.M1
> Reporter: Vitali Yemialyanchyk
> Assignee: Max Rydahl Andersen
> Priority: Minor
> Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> can someone here explain what does mean name(s) in square brackets? (screenshot-1)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list