[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1887) Hibernate Code Generator add org.domain.{project name}.entity to Output Folder when generates any exporters fro seam project.
Anton Klimkovich (JIRA)
jira-events at lists.jboss.org
Thu Mar 13 11:18:58 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1887?page=comments#action_12402715 ]
Anton Klimkovich commented on JBIDE-1887:
-----------------------------------------
Yes I run code generating into a random folder and it create duplicate package org.domain.{project name}.entity in it. If we set output folder as \seam-ejb\ejbModule after run code generating it will overwrite already existent classes without any message about overwriting.
> Hibernate Code Generator add org.domain.{project name}.entity to Output Folder when generates any exporters fro seam project.
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-1887
> URL: http://jira.jboss.com/jira/browse/JBIDE-1887
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Hibernate
> Affects Versions: 2.1
> Reporter: Anton Klimkovich
> Priority: Minor
> Attachments: SeamWithHibernate.PNG, SetFolder.PNG
>
>
> EXECUTE: Create Seam Ear project
> EXECUTE: Create new folder in Seam-ejb
> EXECUTE: Open Hibernate Code Generator
> EXECUTE: Select Seam-ejb Configuration
> EXECUTE: Select created folder as output folder
> EXECUTE: Select Domain code(.java) and DAO code(.java) on Exporters tab
> FAILURE: 1. Files will be generated in NewFolder in package org.domain.{project name}.entity if it was source folder
> 2. Files will be generated using such path: NewFolder -> org -> domain -> {project name} -> entity if NewFolder was created as simple folder.
> Generated classes marks with error marker.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list