Hi folks,
 
    Some success!! Although it's fairly confusing as to why it worked.
 
The ejbdoclet task I'm using looks like
 
<ejbdoclet destdir="${project.dir}/${src.java.dir}"
     mergedir="merge"
     excludedtags="@version,@author,@todo"
     ejbspec="2.0" force="${xdoclet.force}"
     verbose="true">
 
and the weblogic element nested in the task looks like
 
<weblogic version="6.1"
      xmlencoding="UTF-8"
      destdir="${ejb.dd.dir}"
      validatexml="false"
      datasource=""
      mergedir="merge"
      persistence="weblogic" />
 
By copying the folder structure under merge to the location specified by  the destdir of the weblogic element, ${ejb.dd.dir}
xdoclet was able to pick up and include the xml in the file com/closeout/impl/ejb-ejbrefs-CloseoutBean.xml into my ejb-jar.xml
 
Anyone any idea why is the mergedir attribute ignored?
 
Thanks,
Mark.
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Gargan
Sent: 19 December 2005 11:14
To: xdoclet-user@lists.sourceforge.net
Subject: [Xdoclet-user] Can't pick up merge files.

Hi folks,
 
        I have a bean called com.closeout.impl.CloseoutBean.java
 
I have specified the merge directory in my build file as merge.
Within the merge directory, I've a structure that looks like
com/closeout/impl
and in the impl folder I have the file ejb-ejbrefs-CloseoutBean.xml
 
<ejb-local-ref>
    <ejb-ref-name>Booking</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>com.booking.api1.IBookingLocalHome</local-home>
    <local>com.booking.api1.IBookingLocal</local>
</ejb-local-ref>
 
However the ejbdoclet task doesn't pick up and include the xml specified in my merge file.
 
Is there anything I'm not doing?
 
Thanks,
Mark.
 
**********************************************************************************************
This email, its contents and any files attached are a confidential communication and are
intended only for the named addressees indicated in the message. If you are not the
named addressee or if you have received this email in error, (a) you may not, without the
consent of Cognotec, copy, use or rely on any information or attachments in any way and
(b) please notify the sender by return email and delete it from your email system. Unless
separately agreed, Cognotec does not accept any responsibility for the accuracy or
completeness of the contents of this email or its attachments. Please note that any views,
opinion or advice contained in this communication are those of the sending individual
and not those of Cognotec and Cognotec shall have no liability whatsoever in relation to
this communication (or its content) unless separately agreed.
**********************************************************************************************
**********************************************************************************************
This email, its contents and any files attached are a confidential communication and are
intended only for the named addressees indicated in the message. If you are not the
named addressee or if you have received this email in error, (a) you may not, without the
consent of Cognotec, copy, use or rely on any information or attachments in any way and
(b) please notify the sender by return email and delete it from your email system. Unless
separately agreed, Cognotec does not accept any responsibility for the accuracy or
completeness of the contents of this email or its attachments. Please note that any views,
opinion or advice contained in this communication are those of the sending individual
and not those of Cognotec and Cognotec shall have no liability whatsoever in relation to
this communication (or its content) unless separately agreed.
**********************************************************************************************

Reply via email to