Konstatin,
My answer was maybe a little bit off topic.
But I was referring to the situation where:
In my project I sometimes generate files that are meant to be updated (jsp files for examples). So it is not generated in my gensrc folder but in my normal src or web folder. So the only thing I have to know is that the destination file is already there (this can be done in the start method!?). If it is there I don't generate anything. I know I should strive to not update generated files but sometimes it is worth the effort to generate things only ones.
Joris
Konstantin Priblouda <[EMAIL PROTECTED]> wrote on 2005-12-19 01:45:06 PM:
>
>
> --- Joris Wijlens <[EMAIL PROTECTED]> wrote:
>
> > This works with multioutput set to true, with
> > plugins that have
> > multioutput to false you do it by overriding the
> > start method of the
> > Plugin superclass. (Correct me if I am wrong)
> > In your start method check if the class exists, if
> > not, call
> > super.start();
> >
> In case of multioutput=false there is always some kind
> of iteration
> through classes ( in template ), which goes back to
> plugin.
> getMappedClasses() in hibernate config plugin is a
> good example.
> It retrieves all the classes, and then filters
> collection by some
> criteria.
>
> 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
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
- [xdoclet-user] Conditional generation Stefan Undorf
- Re: [xdoclet-user] Conditional generation Mark Lundquist
- [xdoclet-user] WRONG LIST! (was Re: [xdocle... Mark Lundquist
- Re: [xdoclet-user] Conditional generation Grégory Joseph
- RE: [xdoclet-user] Conditional generation Diogo Quintela \(EF\)
- Re: [xdoclet-user] Conditional generation Konstantin Priblouda
- Re: [xdoclet-user] Conditional generation Joris Wijlens
- Re: [xdoclet-user] Conditional generati... Konstantin Priblouda
- Re: [xdoclet-user] Conditional gene... Joris Wijlens
