From: Mark L. <Mark.Lybarger@CBC-Companies.com> - 2003-12-24 15:24:20
|
I can run some timing tests, but it seems to run quite faster, especially w= hen there's no descriptors that really need generated. It seems that if i h= ave 20 subtasks, one for each ejb, then the check to see if the dd needs up= dated takes quite some time. Having it as one task seems to run quite zipp= y, but i'm not able to figure out how to get the transaction section to giv= e the information for the correct bean. > -----Original Message----- > From: Konstantin Priblouda [mailto:kpr...@ya...] > Sent: Wednesday, December 24, 2003 8:44 AM > To: xdo...@li... > Subject: RE: [Xdoclet-user] FW: [Xdoclet-devel] trying to generate one > ejb-jar.xml file per bean... >=20 >=20 >=20 > --- Mark Lybarger <Mark.Lybarger@CBC-Companies.com> > wrote: > > Thanks for the response!! The method you mention > > does work, but I'm trying to do this to be more > > efficient. I am currently doing what you mention in > > your post, but my build.xml looks horrible. I also > > have to add a new section to build.xml for each bean > > that gets added to my project. It seems that one > > call like this: > > <ejbdoclet verbose=3D"on" ejbspec=3D"2.0" > > destDir=3D"${basedir.webapp.web-inf.src.gen}"> > > <fileset > > dir=3D"${basedir.webapp.web-inf.src}"> > > <include name=3D"**/*Bean.java"/> > > </fileset> > > <deploymentdescriptor > > destinationFile=3D"{0}-ejb-jar.xml"/> > > </ejbdoclet> > >=20 > > is more efficient than 20+ calls that each specify > > the bean to include. >=20 > Does this work? ( I newer used this approach ) If > subtask did not hardwired execution mode and inherited > from template subtask=20 > it would be faster, because you will not have 20+ > invocations of xjavadoc to parse files... >=20 > regards, >=20 > =3D=3D=3D=3D=3D > ----[ Konstantin Pribluda ( ko5tik ) ]---------------- > Zu Verst=E4rkung meines Teams suche ich ab Sofort einen > Softwareentwickler[In] f=FCr die Festanstellung.=20 > Arbeitsort: Mainz=20 > Skills: Programieren, Kentnisse in OpenSource-Bereich > ----[ http://www.pribluda.de ]------------------------ >=20 > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign=20 > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell=20 > to sys admin. > Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick > _______________________________________________ > xdoclet-user mailing list > xdo...@li... > https://lists.sourceforge.net/lists/listinfo/xdoclet-user >=20 >=20 > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.553 / Virus Database: 345 - Release Date: 12/18/2003 > =20 >=20 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.553 / Virus Database: 345 - Release Date: 12/18/2003 =20 |