In a discussions about this, we were looking at what Commons Digester does:
http://commons.apache.org/digester/commons-digester-1.8/docs/api/org/apache/commons/digester/Digester.html#getUseContextClassLoader()
It appears you can direct Digester to what ClassLoader should be used.
We just have to
Saminda,
Here's the code pointed out by Niall:
>ClassLoader loader = Thread.currentThread().getContextClassLoader();
>if (loader == null) {
>loader = this.getClass().getClassLoader();
>}
I wouldn't imagine it would be difficult to refactor such logic into a
replaceable method
Shaoo, Stefano,
Thanks for responding. I created a miniature Maven 2 repository holding the
snapshots of the libraries. Being a repo, it contains the POM for you to
inspect as well:
http://people.apache.org/~pbenedict/struts-osgi/
Sources from SVN:
http://svn.apache.org/viewvc/struts/struts1/tru
At the Struts project, we just OSGified our libraries. It's our first
attempt at doing this for libraries used in a web container. We need some
verification help though. Is anyone on the Felix team familiar enough with
Struts to also look at the SNAPSHOT Struts libraries, and maybe load them,
or ch
At the Struts project, we just OSGified our libraries with the
maven-bundle-plugin. We need some verification help though. Is anyone on the
Felix team familiar enough with Struts to also look at the SNAPSHOT Struts
libraries, maybe load them, and check out their MANIFEST? Since these
libraries wil