Hallo agian,

I have some additional information which I forgot in the original post.
First I wanted to correct a little error the <load-groups> are placed in jbosscmp-jdbc-LeafBean.xml and not jbosscmp-jdbc-OrganizationBean.xml sorry about that.
Secondly I place the jbosscmp-jdbc-LeafBean.xml in the directory path which starts at where my mergeDir points (E.g ./src/merge) and has the package name as directory structure (package is test.ejb.entity so the xml file is ./src/merge/test/ejb/entity/ jbosscmp-jdbc-LeafBean.xml)
As soon as I generate the Xdoclet build when this merge file is in place then only the content of that merge file is placed in between the <entity> </entity> tags and the @jboss tags in the java source file are ignored.
The idea is to either merge the content for the file containing the load-groups for that entity with the content generated from the tags in the java source or have a jboss tag in the java source which allows me to create the load-groups.


Thanks again and sorry that these details where only given now.




From: "percy christian" <[EMAIL PROTECTED]>
Reply-To: xdoclet-user@lists.sourceforge.net
To: xdoclet-user@lists.sourceforge.net
Subject: [Xdoclet-user] how to automatically merge jbosscmp-jdbc-{0}.xml files
Date: Fri, 15 Apr 2005 10:27:29 +0200


Hallo,
I have eclipse project with jboss-ide plugin (1.4.1.e31-jre14) which contains the xdoclet 1.2.1
I want to use defined load strategies, so I was defined it as xdoclet tag in @jboss.querry xdoclet tag and was correctly generated into jbosscmp-jdbc.xml
But how to define load-group?
example - I have cmp 2.0 bean Leaf (LeafBean) and I was created definition file jbosscmp-jdbc-OrganizationBean.xml with content
<load-groups>
<load-group>
<description>Queryfilter</description>
<load-group-name>Filter</load-group-name>
<field-name>name</field-name>
<field-name>type</field-name>
<field-name>link</field-name>
</load-group>
</load-groups>


how to merge it automatically with generated jbosscmp-jdbc.xml? Both are placed in META-INF directory ...


Thanks for any sugestion

_________________________________________________________________




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user

_________________________________________________________________




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to