I am building new custom JSF component using the apache myfaces builder plugin.
I was able to achieve this when I developed my component without using the plugin ( I had a phase listener which wrote the contents of the file to the response stream when required.) .
I am not sure how to achieve the same when I use the myfaces builder plugin.
First check MyFaces Builder Plugin Site documentation for details. In theory myfaces builder plugin helps you to minimize the number of files you need to modify to create JSF components, so there is nothing special you need to make it work.
For more information you can suscribe to myfaces users and dev mailing lists and ask there directly.
Joined: Dec 17, 2009
This blog JSF Custom Component Blog helped me. I did use Myfaces builder plugin but for resource packaging I used the approach mentioned in that blog.