Simply extract the .xdt file to your filesystem, and then in your subtask use templatefile="..." with whatever filename you extracted it to. There is no need to re-jar anything - using templatefile on any subtask overrides the one in the JAR file.

Erik


wu qihua wrote:
For xdoclet1.2beat,I can find the xdt file in xdoclet-bea-module.jar. If I want to use my own xdt file,should I unzip xdoclet-bea-module.jar,replace the correspont xdt file with my own xdt file,and then jar it?
Or will I place my xdt file as a seperate file,but is so,how should I name the file,the same as the file in the xdoclet-bea-module.jar,for example :weblogic-ejb-jar-xml.xdt?


From: Konstantin Priblouda <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: wu qihua <[EMAIL PROTECTED]>
CC: xdoclet-user <[EMAIL PROTECTED]>
Subject: Re: [Xdoclet-user] further merge point ?
Date: Wed, 27 Nov 2002 23:50:53 -0800 (PST)


--- wu qihua <[EMAIL PROTECTED]> wrote:
>    Is the file with postfix .xdt  template.Can
> anyone give me an example of
> templet?
Yes, it's template. Basically it's a text file
with some ( or without any ) template tags.

In xdoclet CVS you can find a lot of them as
examples...

Here is simple one:
-------------%<----------
   <XDtField:forAllFields>
      <XDtField:ifHasFieldTag tagName="msg.message">
   public final static String <XDtField:fieldName/> =
getString("<XDtField:fieldName/>");
      </XDtField:ifHasFieldTag>
   </XDtField:forAllFields>
-------------%<-------------

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user




-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to