facebook

[Closed] 5.0 M1 xdoclet generates bad Hibernate hbm.xml

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #253355 Reply

    dsurber
    Member

    I upgraded to 5.0 M1 and now I cannot get xdoclet to generate correct hbm.xml files for Hibernate. xdoclet runs, but appears to generate Hibernate 2.0 xml. The xml header says that it is using the Hibernate 3.0 DTD, but the tags and attributes look wrong and Hibernate 3.0 sure won’t accept them.

    I have tried going to Properties>MyEclipse-Xdoclet and selecting the Standard Hibernate configuration and hibernate doclet, but it will not let me specify the version. That was necessary in 4.1, but doesn’t seem enabled in 5.0.

    When I expand the hibernatedoclet there are two subdoclets, filset and hibernate. When I click on fileset, nothing, but when I click on hibernate a scroll bar appears in the Property/Value pane to the right. No properties are present and I can’t get anything to activate so that I can set the version property.

    For what it is worth I am using Spring 2.0 M5, but that all seems to be working correctly. Everything else is straight out of the box MyEclipse. This project was running before I upgraded to 5.0 M1.

    Douglas

    *** Date: Fri Jun 09 22:07:14 PDT 2006

    *** System properties:
    OS=Windows2000
    OS version=5.0
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0 Milestone 1
    Build id: 20060515-5.0-M1

    *** Eclipse details:
    Eclipse SDK

    Version: 3.2.0
    Build id: I20060526-0010

    Eclipse Platform

    Version: 3.2.0.v20060525a-_OZ2g6CPhlzUdGe
    Build id: I20060526-0010

    Eclipse RCP

    Version: 3.2.0.v20060511-2000-VDNgUl87V-MbMKc
    Build id: I20060526-0010

    Eclipse Java Development Tools

    Version: 3.2.0.v20060518-0800-F7snp8fkws-P7UM
    Build id: I20060526-0010

    Eclipse Plug-in Development Environment

    Version: 3.2.0.v20060511-1200-6zXJJzJsSh-EVFD
    Build id: I20060526-0010

    Eclipse Project SDK

    Version: 3.2.0.v20060404-uDflzjCvGdKbIDo
    Build id: I20060526-0010

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\eclipse3.2cr6\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    128_ac
    -vm
    C:\WINNT\system32\javaw.exe

    #253377 Reply

    Riyad Kalla
    Member

    Douglas,
    This is a visual artifact. If you select the doclet in question, in the right hand panel where the properties should be, move your mouse over the far right edge and wait for it to turn into a column-adjustment-cursor, then click and drag the column so it’s not smashed against the right side.

    We’ve had this reported about 4 times and never have been able to reproduce the issue internally, still hard to tell what causes it.

    #253384 Reply

    dsurber
    Member

    Thanks.

    Douglas

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] 5.0 M1 xdoclet generates bad Hibernate hbm.xml

You must be logged in to post in the forum log in