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
-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
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
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}
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
Where's the TLD inside the jar? It'll
need to be inside META-INF, or it's sub dir.
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
7 matches
Mail list logo