On Tue, 2004-06-01 at 14:53, Pawanraj Sadhwani wrote: > Hi Andrew, > Hi Andrew > > I have kept my Bean class in the basedir. Admittedly, its package is > com.elitecore.billing.ejb.facades.session, but uts in the basedir. > > i figured that writing a simple XDT the kind I have.. it wouldnt make a > difference if package and File location did not match. Anyway, I am getting > the Bean class in basedir, should it make a difference if package and > location of file did not match?
Yes, it matters. If the location and package don't match, then the parser (XJavadoc) gets confused over which it should be, and skips the file. That would explain why your template hasn't been running. Andrew. > > I will try out ur suggestion, but i doubt it.. > > Thanx > Pawanraj > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Andrew > Stevens > Sent: Tuesday, June 01, 2004 7:07 PM > To: [EMAIL PROTECTED] > Subject: Re: [Xdoclet-user] Template is not getting processed. > > > On Tue, 2004-06-01 at 08:14, Pawanraj Sadhwani wrote: > > Hi, > > > > I wrote a simple template that i am trying to process via doclet task. The > > template is not getting processed at all. what could be the reason? I am > > attaching the XDT, ant build script. > > > > Please Help me out... I am totally confused. > > Dodgy fileset, I believe. You used > > <fileset dir="${basedir}"> > <include name="*Bean.java"/> > </fileset> > > in your build.xml, which will only include classes in ${basedir} > itself. See the Ant docs for more details on filesets. Now, your class > had > > package com.elitecore.billing.ejb.facades.session; > > so it ought to be in > ${basedir}/com/elitecore/billing/ejb/facades/session/CustomerSessionBean.jav > a and the fileset should use > > <include name="**/*Bean.java"/> > > to make it include all subdirectories as well. > > > Andrew. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user