RE: Howto add faces-config.xml file to /META-INF in a jar to create a deployable jsf component?

2006-01-21 Thread Jesse Alexander \(KBSA 21\)
The faces-config.xml in the META-INF directory is necessary to have JSF automagically include your component in its runtime configuration. The JSF-spec say, that every jar-file in the WEB-INF/lib directory of a webapp is to be searched for a META-INF/faces-config.xml and if found the faces-config.

Re: Howto add faces-config.xml file to /META-INF in a jar to create a deployable jsf component?

2006-01-21 Thread Cagatay Civici
Hi,Alternatively, if ant is employed, the following task should do the work.                         This task creates a jar file, put the files under classes folder and puts the files like tld and face-config under meta-inf.Regards,Cagatay, On 1/21/06, Hendrik Neumann <[EMAIL PR

Re: Howto add faces-config.xml file to /META-INF in a jar to create a deployable jsf component?

2006-01-21 Thread Hendrik Neumann
I just noticed that it seems to be very easy: Using Apache Maven you just need to create a META-INF folder in your resource-folder. Every file placed in this directory will be copied into the META-INF folder of the jar. To create an out of the box usable JSF-component JAR archive you need to place