Hi,

yes that's correct, and no generation for renderers.

-Matthias

On 8/30/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> Initial impression, please correct my mistakes if you don't mind:
>
> So the plugin is scanning for the XML files in the sub-directories of
> the plugin directory tree. It then is checking for an existing class
> in the java-templates folder. It merges the output if the
> [fullclassname]Template.java exists, removing any line starting with
> /**/ and results in the class without the "Template" in the name.
>
> Tag classes, TLD, taglib.xml and faces-config files are generated from
> information within the XML files.
>
> taglib and TLD information is merged with the content from the "base"
> files in trinidad-impl/src/main/conf/META-INF (trinidad-api has no
> configuration files)
>
> Renderers are all hand-coded, no auto-generation
>
> Did I get most of it?
>
> Thank you,
> -Andrew
>
> On 8/30/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> > Andrew-
> >
> > the maven-faces-plugin isn't really documented :-(
> >
> > We also have Templates (api/src/main/java-templates), which are *real*
> > java-clazzes,
> > that are used by the plugin.
> >
> > so, looking a trinidad / myfaces12 is the current way to get it.
> >
> > the meta-data are "mini" faces-config files.
> > one for the compoent (and one for it's renderer)
> > also, used for valudators, or converters, or event.
> >
> > -M
> >
> > On 8/30/07, Simon Lessard <[EMAIL PROTECTED]> wrote:
> > > Hello Andrew,
> > >
> > > Yes, we use maven-faces-plugin (and so does MyFaces 1.2). You can find the
> > > configuration files in the trinidad-build project, within
> > > src/main/resources/META-INF/maven-faces-plugin
> > > sub-directories.
> > >
> > >
> > > Regards,
> > >
> > > ~ Simon
> > >
> > >
> > > On 8/30/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> > > > 2 questions for the Trinidad developers:
> > > >
> > > > (1) It seems like Trinidad is using some kind of generator for taglib,
> > > > tld, Tag, and possibly other classes. Is this documented anywhere? I
> > > > was looking around the SVN trunk and did not see any boilerplate or
> > > > configuration code that would provide such information to a maven
> > > > plugin. Can someone point me to the location in SVN that I can start
> > > > poking around to get an understanding of how this works?
> > > >
> > > > (2) Are there any comments on the following enhancement "bugs" for new
> > > > components?
> > > >
> > > > https://issues.apache.org/jira/browse/TRINIDAD-663
> > > > https://issues.apache.org/jira/browse/TRINIDAD-664
> > > >
> > > > If not would there be any objections to me checking in the code into
> > > > the Trinidad trunk (once I figure out the answer to #1 of course)?
> > > >
> > > > Thanks,
> > > > Andrew
> > > >
> > >
> > >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > mail: matzew-at-apache-dot-org
> >
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Reply via email to