A ha! Getting closer. So I moved the taskdef tasks into the targets that
actually use them (instead of being children of the project tag) - and the
issue disappears. Both the webdoclet and ejbdoclet tasks run as expected,
multiple times, with multiple subtasks.

Unfortunately I don't know the Ant code very well, so I am not sure exactly
what the difference is between a global taskdef and one that is local to a
target, and why this is causing a difference (at least in our build).


> -----Original Message-----
> From: Craig Dickson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 03, 2003 10:07 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Xdoclet-user] multiple jsptaglib nested tag in webdoclet
> 
> 
> I have played around some more. I can confirm that even with only the
> deploymentdescriptor subtask present, I still get the same 
> issue. I can also
> confirm the EXACT same behavior when using the EjbDocletTask. 
> We saw this
> issue originally in the b1 release in an old project with the 
> EJbTask. This
> is going to be a huge problem in this project as we need to 
> build somewhere
> near 50 different EJB jar files with appropriate descriptors. Ouch!!
> 
> So to recap, that means I can reproduce the issue with both 
> the Ejb and the
> Web doclet tasks - this is probably significant.
> 
> I am sure this is an issue with our environment, because 
> there is no way
> this has slipped through as a bug - I really cant beleive 
> that. So I am
> stuck as to what else to try. Can someone describe their 
> setup, or give the
> list of instructions they use for using XDoclet?
> 
> 
> > -----Original Message-----
> > From: Erik Hatcher [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 01, 2003 11:45 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Xdoclet-user] multiple jsptaglib nested tag 
> in webdoclet
> > 
> > 
> > On Monday, March 31, 2003, at 05:54  PM, Craig Dickson wrote:
> > > Please find attached the build script we are currently 
> > using (please 
> > > excuse
> > > the mess, we are currently adapting scripts from an old project - 
> > > which also
> > > showed this issue) and the output we are seeing is inline 
> below. The
> > > important part is in the war.development target. I added 
> the second 
> > > call to
> > > webdoclet back into our build scipt. Note that the second 
> run of the
> > > webdoclet task shows <null/> as the sub-task names and does not 
> > > produce any
> > > output, i.e. no web.xml file is written to the output directory.
> > 
> > Its odd.  Its working just fine for me to do pretty much 
> what you are 
> > doing.  Have you tried only using one subtask (like <jsptaglib>) in 
> > each <webdoclet> to see if it could be one of the subtasks 
> > causing the 
> > problem?
> > 
> > Has anyone else experienced this issue?
> > 
> >     Erik
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: ValueWeb: 
> > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> > No other company gives more support or power for your 
> dedicated server
> > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> > _______________________________________________
> > xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> > 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb: 
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to