This certainly would work for me! A bit less intuitive, so as long as it's
mentioned explicifly in the docs then I'm happy ;)

Quoting Aslak Hellesøy <[EMAIL PROTECTED]>:

> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Hani
> > Suleiman
> > Sent: 28. januar 2003 12:43
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Xdoclet-user] DRY
> >
> >
> > I actually like the way it's done now. The reason is that I can
> > have my beans
> > contain all the tags that they could require, from that I can
> > further apply
> > project wide generation rules from the build.xml. For example, my
> > ejb might have
> > view-type="both", but for whatever reason, I want to turn off
> > remote views to
> > check something. Right now it's a matter of removing one line in
> > build.xml,
> > rather than going through every bean (hundreds, in my case!) and
> > changing what
> > is generated.
> >
> 
> Thinking about it, I think we could achieve both. If you don't have a
> subtask in your build.xml, stuff will be generated if the @tag is there.
> -BUT: You could turn it off if you want like this:
> 
> <ejbdoclet...>
>    <localinterface generate="false"/>
> </ejbdoclet>
> 
> So instead of actually removing <localinterface/>, you add it and specify
> generate="false"
> This way we'd satisy DRY and you. -And we could also still support the
> current style to be more bwc.
> 
> Thoughts?
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> 






-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to