facebook

xdoclet strange upper-case / lower-case code generation

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    Hello,

    I just recently tried to port a project from an old Eclipse 3.0 development platform with lomboz to MyEclipse 5.1

    Everything seems to be working just fine but I do have a very strange problem with the xdoclet code generation.

    MyEclipse xdoclet generation is producing the following code: (ejb-jar.xml)

    
          <entity >
             <ejb-name>SDurchschnitt</ejb-name>
    
            [...]
    
             <ejb-class>[...]</ejb-class>
             <persistence-type>Container</persistence-type>
             <prim-key-class>java.lang.String</prim-key-class>
             <reentrant>False</reentrant>
             <cmp-version>2.x</cmp-version>
             <abstract-schema-name>SDurchschnitt</abstract-schema-name>
             <cmp-field >
                <description><![CDATA[<!-- begin-user-doc --> CMP Field ROWID Returns the ROWID]]></description>
                <field-name>rOWID</field-name>
             </cmp-field>
         [...]
             <primkey-field>ROWID</primkey-field>
    

    Notice the rOWID as field-name and then ROWID as primary key field.
    The old lomboz did also give me the uppercase version ROWID in the cmp-field.
    Not surprisingly the application cannot be deployed on JBoss with this rOWID in ejb-jar.xml.

    I thought it might be an xdoclet bug or somthing like that.

    Did anyone else had this behaviour before or has anyone an idea what could be wrong? =)

    Thank you!

    #262722

    Riyad Kalla
    Member

    I think it may be a bug in XDoclet. I did a quick search in the XDoclet issue tracker:
    http://opensource.atlassian.com/projects/xdoclet/secure/QuickSearch.jspa

    and found quite a few bugs related to case during generation.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: xdoclet strange upper-case / lower-case code generation

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