Re: Help with bundling Faces-Config

2005-07-21 Thread Werner Punz
Balaji Saranathan wrote: Hi, I have some custom components built that have been bundled as a jar file. However, when I access them in my JSF page, I get ClassNotFoundException. The environment doesn’t seem to pick it up from the jar file. Can you clarify if I can bundle my own

RE: Help with bundling Faces-Config

2005-07-21 Thread Jesse Alexander (KBSA 21)
-Original Message- Hi, I have some custom components built that have been bundled as a jar file. However, when I access them in my JSF page, I get ClassNotFoundException. The environment doesn't seem to pick it up from the jar file. Can you clarify if I can bundle my own

Re: Help with bundling Faces-Config

2005-07-20 Thread Bruno Aranda
Yes, it is possible. Actually this is how myfaces tomahawk and sandbox components work (take a glimpse to the sources if you want). Are your tld and faces-config.xml in the META-INF folder of the jar? The class not found, does really exist? Verify for typos... Regards, Bruno 2005/7/20, Balaji

Re: Help with bundling Faces-Config

2005-07-20 Thread Mike Kienenberger
I've successfully built a component jar as well. Here's the ant build.xml snippet. target name=jar depends=clean,compile,resources description=Build jar jar destfile=${project.jar.name} basedir=${java.classes} metainf dir=${java.METAINF}

RE: Help with bundling Faces-Config

2005-07-20 Thread Balaji Saranathan
Thank You. It was my mistake. I was not including them under the Manifest directory. -Original Message- From: Bruno Aranda [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 1:43 PM To: MyFaces Discussion; [EMAIL PROTECTED] Subject: Re: Help with bundling Faces-Config Yes

Re: Help with bundling Faces-Config

2005-07-20 Thread Dennis_Byrne
Where's the TLD inside the jar? It'll need to be inside META-INF, or it's sub dir.

RE: Help with bundling Faces-Config

2005-07-20 Thread Balaji Saranathan
Title: Message I guess your mail reached me late. NEvertheless, thanks. The problem is now fixed. I have the TLD and faces-config.xml file inside the META-INF directory -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005