--- boutin <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I've got series of classes (EJBs) which their home &
> remote interface 
> are generated by XDoclet1.2.1. And, I'd like to
> modifiy the ejbCreate of 
> the EJB method if a specific argument is passed to
> the ant instruction.
> 
> So I've decided to use :
> <template destinationFile="{0}.java" 
> templateFile="transform-ejb-cmp.xdt"
> mergeDir="${merge.dir}"/>
> 
> My question :
>     is it possible to have the transform-ejb-cmp.xdt
> file like that
>     -->
> 
>     <XDtEjbComment:comment>
>     As there is a lot of different file in the
> project, I only need to 
> modify the one which are of a CMP entity type
>     </XDtEjbComment:comment>
>     <XDtEjbCmp:ifEntity>
> *       [here I need to recopy all the stuff from
> the original file to 
> the last line of ejbCreate()]*
>                    // several specific java
> instruction
>                    System.out.println("test");
> *       [here I need to recopy all the stuff from
> the original file to 
> the last line of ejbCreate() to the last line of
> file]*
>     </XDtEjbCmp:ifEntity>


what's wrong with super.ejbCreate() ? 

IMHO, xjavadoc does not look inside methods and does
not provide their code to template.

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programmieren, Kenntnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------


                
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to