On Jan 30, 2008 1:39 PM, Simon Kitching <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Are there any emails/design-docs available on why the trinidad build system 
> (now myfaces-faces-plugin) was designed as it was?

don't think so;
it started as an ant-task, became a maven1 plugin; and now it is a
maven2 plguin.

>
> Currently, it uses xml configuration files plus java "template" files to 
> generate java classes for components. It also then generates java source for 
> jsp taglib handlers, and config files like .tld and faces-config.xml.

yep.
-xml configuration == "mini faces-config files"
-templates == in order to "override" some *defaults* (like when you
want to do something "special" inside the validate() for InputFile,
provide a template, which is a real Java class)
-it generates the real UIComponent java file as well
-generates facelets XML taglib file

>
> Was consideration given to instead driving the process from annotations (or 
> xdoclet tags) attached to component, converter and validator classes? It 
> would seem to me that this would be more natural for java developers to use...

don't know about the "historic" reasons.

-Matthias

>
> Thanks, Simon
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Reply via email to