[seam-issues] [JBoss JIRA] (JBSEAM-4978) Seam-gen commands using hibernate-tools doesn't work

Marek Novotny (JIRA) jira-events at lists.jboss.org
Thu Sep 13 10:46:34 EDT 2012


    [ https://issues.jboss.org/browse/JBSEAM-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718310#comment-12718310 ] 

Marek Novotny commented on JBSEAM-4978:
---------------------------------------

I chatted with jboss tools team and koen promised to release 4.0.0.CR1 before weekend, so we should update to it when is ready.

{noformat}
(15:39:49) maxandersen: marekn: koentsje is working on it. not sure about ETA since we only just got push access to nexus today.
marekn maxandersen 
(15:41:49) me: maxandersen: oops, ok, I will wait to see any info about status from koentsje then ;-)
(15:44:09) koentsje: marekn, i assume you need 4.0.0?
(15:44:44) me: koentsje: actually I need whatever is not SNAPSHOT and works  ;-)
(15:45:22) me: koentsje: I am right now using 4.0.0-SNAPSHOT, but that can't be used in Seam Final release
(15:45:58) me: koentsje: as we have strict rule to not include SNAPSHOT dependency/libraries
(15:46:09) koentsje: okay, i'll try to release 4.0.0.CR1 before the weekend
{noformat}
                
> Seam-gen commands using hibernate-tools doesn't work
> ----------------------------------------------------
>
>                 Key: JBSEAM-4978
>                 URL: https://issues.jboss.org/browse/JBSEAM-4978
>             Project: Seam 2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.3.0.BETA2
>            Reporter: Tomas Remes
>            Assignee: Daniel Hinojosa
>              Labels: seam-gen
>             Fix For: 2.3.0.Final
>
>         Attachments: hibernate-tools.jar
>
>
> Seam-gen commands like "generate-model","generate", "generate-ui" does not work, because it's using old hibernate-tools version. Major problem is that this old version is using classes from hibernate-core 3.2.4 (and probably many other jars)  and those are not compatible with hibernate 4 versions. So when you try for example command "generate-model", you will get following error:
> {noformat}
> jboss-seam-2.3.0.CR1-SNAPSHOT/seam-gen/build.xml:1554: java.lang.NoClassDefFoundError: org/hibernate/engine/Mapping
> {noformat}
> I am trying/investigating how is this used in JBoss Tools, but as far as I've understood there is entirely bundled old hibernate 3 and its related stuff.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list