facebook

XDoclet’s jbosscmp-jdbc-{0}.xml merging feature [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #209428 Reply

    europarl
    Member

    I am trying to use the jbosscmp-jdbc-{0}.xml merging feature of XDoclet to add a <cmp-field> element to an existing <entity> element in jbosscmp.xml.

    I reckon {0} gets replaced with the bean’s name (what is in “@ejb.bean name” and not the bean class name).

    Unfortunately I can not get this to work – while merging mecanism works well for other jboss…xml files.

    Is this supported? Any pointer on what I am doing wrong here?

    Thanks for any reply,
    David

    _________________
    Using MyEclipse 2.7 / Eclipse 2.1.2

    #209433 Reply

    Riyad Kalla
    Member

    I’ve asked our XDoclet guru to take a look-see at this.

    #209442 Reply

    Walter Riley
    Member

    David,

    Most likely you are not putting your jboss-jdbc-{0}.xml file in a folder structure matching your package structure.

    eg
    for ejb com.titan.cabin.CabinBean
    and merge as the jboss specific mergeDir directory, you need a
    merge/com/titan/cabin/jbosscmp-jdbc-CabinBean.xml file that contains all the <cmp-field> s that you want to use.

    Good luck,
    Walter

    #209478 Reply

    europarl
    Member

    Walter – this is great, it works beautifully!

    (I tried to RTFM but did not understand that it was necessary to recreate the folder structure under merge)

    Thanks a lot for your help.
    David

    #209488 Reply

    Scott Anderson
    Participant

    Walter,

    Thank you so much for the help on support. We have to split our time between support and development so the more people like you that will take the time to help us out means faster MyEclipse releases with more features. 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: XDoclet’s jbosscmp-jdbc-{0}.xml merging feature [Closed]

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