thanks; i thought this would do the trick but i stumbled over th following: my src tree is as follows: src/ moduleA/ /com/.../MyEJB2.java moduleB/ /com/.../MyEJB1.java
now, i have created an EJBDoclet that will run last with a fileset of dir='src' and include='**/*EJB.java' unfortunatilly, the DD is create empty. only if i change the dir attribute to src/moduleA or src/moduleB i get a DD with beans in it. the only problem is that the DD contains beans of a specific module only... us this a constraint with xdoclet that the dir attribute of the fileset in an EJBDoclet should point to the root directory of where the fully qulified EJB name start only? (and will fail if pointed to the father directory of that root?). thanks. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Harkness, David Sent: Wednesday, June 30, 2004 6:54 PM To: [EMAIL PROTECTED] Subject: RE: [Xdoclet-user] can seperate ejbdoclet tags share the same DDs? Guy Katz [EMAIL PROTECTED] wrote: > can 2 ejbdoclet tags share the same DDs > for example: EJB A is created with ejbdoclet tag and EJB B with a > seperate ejbdoclet tag. i want both to use the same ejb-jar.xml as > output so that the ejb-jar.xml will include both EJBs. thanks for > your help. While I haven't tried this myself, I can't see any reason why it wouldn't work. As each subtask under <ejbdoclet> is run separately -- only sharing the <fileset> and other various properties -- you can move the DD-related subtasks to another <ejbdoclet> task with a complete <fileset>. Here's an example: Target: A -- process A beans ejbdoclet fileset: A session, remote, local, valueobject, ... Target: B -- process B beans ejbdoclet fileset: B session, remote, local, valueobject, ... Target: DD -- create deployment descriptors ejbdoclet fileset: A, B deploymentdescriptor, weblogic, jboss, ... Target: ALL -- do everything depends: A, B, DD David Harkness Sr. Software Engineer Sony Pictures Digital Networks (310) 482-4756 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user