--- Daniel Lipofsky <[EMAIL PROTECTED]>
wrote:

> I discovered a work-around.  I had been doing
> 
> <target ..>
>     <taskdef name="webdoclet" ...>
>     <webdoclet ...>
>     <webdoclet ...>
> </target>
> 
> But when I did this instead it worked:
> 
> <target ..>
>     <taskdef name="webdocletA" ...>
>     <taskdef name="webdocletB" ...>
>     <webdocletA ...>
>     <webdocletB ...>
> </target>

So it means  that XD1 ant task is somehow messy and
keeps state between its invocations... 
And you effectively parse sources twice.

While a perfect workaround for you, this
could be really prohibitive for people having a lot of
mapped sources.

( this is warning for those who like to try this at
home ;) ) 


> Also it worked to do 2 different targets, or
> one target called multiple times - as long as
> there was only one webdoclet call per taskdef.
> 
> (a note on my original problem: I discovered if
> you used the force flag or touched the files the
> second webdoclet call would generate files but it
> still generated to the destdir specified by the
> first
> webdoclet call, and the contextparam and taglib
> declarations accumulated over both calls.  So lots
> of
> ugly bugs but they all seem to be solved by the
> above
> work-around)


One of design goals of XD2 was to simplify overall
architecture to get rid of lot of potential problems. 
I grew just too big and monolitic over the years. 

regards,


----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org


 
____________________________________________________________________________________
Access over 1 million songs - Yahoo! Music Unlimited 
(http://music.yahoo.com/unlimited)


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to