myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Uribe <lu4...@gmail.com>
Subject Re: MyFaces Core + Trinidad + Facelets in OSGi container
Date Thu, 09 Jul 2009 04:33:03 GMT
Hi

+1

regards

Leonardo Uribe

Am 8. Juli 2009 23:22 schrieb Felix Röthenbacher <froethenbacher@apache.org>
:

> Hi
>
> I recently made some modifications to MyFaces Core and MyFaces Trinidad
> to get it running in an OSGi container (Equinox) together with Facelets.
>
> I wonder if there is any interest in adding bundle metadata to MyFaces
> Core and Trinidad to make them runnable in an OSGi environment? If so,
> I could finalize my modifications and submit a patch with the necessary
> changes.
>
> Basically, the changes include:
>
> - adding bundle information in MANIFEST.MF (uses Maven bundle plugin)
> - assure that classes and resources are loaded with proper class loaders
>
> The changes to MyFaces core are minor, e.g. adding a bundle activator
> and small modifications to ClassUtil for class loading.
>
> Modifications to Trinidad comprise a systematic use of ClassLoaderUtils to
> load classes and resources. Currently, often
> Thread.currentThread.getContextClassLoader() is used directly, which
> doesn't
> work well in an OSGi environment.
>
> WDYT?
>
> - Felix
>

Mime
View raw message