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

Reply via email to