Comments follow... > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of DDU DUQUENNOY Didier > Sent: Monday, December 22, 2003 10:16 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] Need help with custom template file > > > Hi, > > I'm trying to generate a business delegate for a session > bean. Since I use my own implementation for its methods, I'm > building up a .xdt file that I use in an Ant task. > > I'm facing several problems and I don't know where to find > all the documentation I need, so I have several questions : > > - can I put the <template>...</template> subtask inside an > <ejbdoclet> task (xdoclet.modules.ejb.EjbDocletTask), or > should I put it inside another task based on xdoclet.DocletTask ? > No. It's meant to be a subtask for the xdoclet task.
> - Can I use <XDtEjbIntf> tags in my .xdt file (from the ejb > module) ? Where is the list of the tags available? > Yes. You need to look a little harder in the docs. It's listed under Template Language (*.xdt). Here's a link: http://xdoclet.sourceforge.net/templates/index.html > - Sometime, I see in examples over the web people using {0} > in their ant script. Where is the documentation for this tag? > Are there others tags like this one? Is it possible to make > some manipulation over it (like substring) ? > The one place I know this is specifically used is in the destinationfile attribute in the template subtask. By it's existence, or lack thereof, indicates to xdoclet to use transformation or aggregate generation. For example, if: <template destinationfile="{0}Bean.java".../> For each processed source file, xdoclet will create a corresponding file named {SourceClass}Bean.java. Without the {0} pattern, xdoclet will attempt to write to a single output file (aggregation). Hope this helps. Scott > > Well, excuse my ignorance and thanks for the help, > > Didier D > > > ______________________________________________________________ > ___________________________________________ > Ce message (et toutes les pi�ces jointes) sont confidentiels > ; son contenu ne repr�sente en aucun cas un engagement de la > part de DEXIA SOFAXIS. Toute publication, utilisation ou > diffusion, m�me partielle, doit �tre autoris�e pr�alablement > par l'�metteur. > > Si vous n'�tes pas destinataire de ce message, merci d'en > avertir imm�diatement l'exp�diteur. > > Conform�ment aux dispositions de la loi n� 78-17 du 6 janvier > 1978 relative � l'informatique, aux fichiers et aux libert�s, > vous pouvez obtenir communication et, le cas �ch�ant, > rectification ou suppression des informations vous concernant > en vous adressant � DEXIA SOFAXIS - Route de Creton - 18110 VASSELAY > > > ______________________________________________________________ > ___________________________________________ > Consultez notre site internet http://www.sofaxis.com > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's Free Linux Tutorials. Learn everything from the > bash shell to sys admin. Click now! > http://ads.osdn.com/?ad_id78&alloc_id371> &op=ick > > _______________________________________________ > > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
