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>

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)

- Dan

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Anthony Roy
> Sent: Monday, October 30, 2006 2:35 AM
> 
>  
> > > And is there websphere support?  1.2.3 had minimal 
> > websphere support 
> > > (it's why we upgraded from 1.2.2), but it would be really 
> > nice to have 
> > > good websphere support.
> > 
> > Websphere what? If you mean EJB, there is not much usable for 
> > properitary containers.  We still lack of commiters in this 
> > field ( it happens that nobody of actual commiters has use 
> > case for it )
> 
> So is there a workaround for this problem? I encountered the same
> problem on Friday, and now seem to be stuck between a rock and a hard
> place regarding XDoclet:
> 
> 1) I need to upgrade to XDoclet 1.2.3 in order to fix the 
> websphere xmi
> file generation.
> 2) But XDoclet 1.2.3 is broken regarding running more than 
> one webdoclet
> task in an ant build sequence.
> 3) The wisdom is to upgrade to XDoclet2
> 4) But XDoclet2 doesn't have (usable) websphere support.
> 
> Cheers,
> 
> -- 
> Anthony Roy
>

-------------------------------------------------------------------------
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