Do we need to keep the old xml files in SVN?  Ex.
HtmlCommandSortHeader.xml.  I'm about to add a new property to the
component.  Do I have to maintain the XML file?  That seems like a
pain.  I understand the usefulness of generating the code the first
time using the XML but I don't understand the point in keeping it
around once that's done.

sean

On 7/29/05, Manfred Geiler <[EMAIL PROTECTED]> wrote:
> It's rather simple and still useful IMO.
> You just define the path of your (new) component in the according
> build.properties (now called codegen.properties) and run one of the
> targets generate-single-api-component, generate-single-impl-component
> or generate-single-components-component depending on what kind of
> component class files (API, Impl or Tomahawk) should be generated
> ("injected").
> The generation seems to be broken after the reorg. I will have a look
> on that soon. Next week I'm on vacation, so it will be second week of
> August.
> 
> -Manfred
> 
> 
> 2005/7/29, Bill Dudney <[EMAIL PROTECTED]>:
> > Could someone provide a quick overview of the code generation stuff.
> >
> > I'd hate for us to drop it completely if its still useful.
> >
> > If its not useful then lets get rid of the xml files and the comments
> > that say 'don't edit this code'.
> >
> > My $0.02 worth.
> >
> > TTFN,
> >
> > -bd-
> >
> > On Jul 28, 2005, at 8:32 PM, Sean Schofield wrote:
> >
> > > No code generation is going on in the new build AFAIK.  I've mentioned
> > > this a few times but everyone says that we are fine - let's release,
> > > etc. :-)
> > >
> > > There are the xml files which result in the "generated code do not
> > > alter" portions of the source.  Do we really need to keep these
> > > around?  They seem like a maintenance nightmare.  (I understand there
> > > use in the beginning but I'm confused about now.)  Are we really ever
> > > going to generate that code again?  I suspect things are already out
> > > of sync by now.
> > >
> > > Not sure what else requires codegen.  I thought there was some WAP
> > > stuff too but I'm a bit confused on that area of MyFaces.
> > >
> > > sean
> > >
> > >
> > > On 7/28/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > >
> > >> must have been left out in the SVN reorg then - Sean, any comment
> > >> on that?
> > >>
> > >>  thanks,
> > >>
> > >>  Martin
> > >>
> > >>
> > >> On 7/27/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > >>
> > >>> What ever became of the codegen stuff?
> > >>>
> > >>> I was hoping to submit a patch to automatically build a
> > >>> myfaces.taglib.xml file for use with the facelets project, but I
> > >>> can't
> > >>> seem to find it anymore.
> > >>>
> > >>> ========================
> > >>>
> > >>> <facelet-taglib>
> > >>>
> > >>>
> > >> <namespace>http://myfaces.apache.org/extensions</namespace>
> > >>
> > >>> #foreach ($c in $componentList)
> > >>>         <tag>
> > >>>                 <tag-name>$c.baseJSPTagName</tag-name>
> > >>>                 <component>
> > >>>
> > >>>
> > >> <component-type>${c.componentType}</component-type>
> > >>
> > >>> #if ($c.rendererType)
> > >>>
> > >>>
> > >> <renderer-type>${c.rendererType}</renderer-type>
> > >>
> > >>> #end## if ($c.rendererType)
> > >>>                 </component>
> > >>>         </tag>
> > >>> #end## foreach ($c in $componentList)
> > >>> </facelet-taglib>
> > >>>
> > >>> ========================
> > >>>
> > >>>
> > >>
> > >>
> > >
> >
> >
>

Reply via email to