https://bz.apache.org/bugzilla/show_bug.cgi?id=64858

--- Comment #6 from Gael Lalire <gael.lal...@gaellalire.fr> ---
Yes, WebResource are a terrific extension point. However it's a pity that
scanners don't use it and rely on constructed jar: URL.

Anyway I already use WebResource but I need an entry point.

As long as JPMS named module are not activated I can overload Tomcat classes by
a classpath hack.

But with JPMS named module activated I cannot use an already defined package
that why I propose this PR https://github.com/apache/tomcat/pull/375.

Of course I created the extension point for my need, and it may be changed to a
more generic way or split into multiple extension points.

Anyway I'm sorry to read that such integration has (almost) no change to get
merged and I would like to know why do you think that.

------------

I also saw you now provide generated named bundle through BND.
I tested it and got 3 issues :
- missing uses, you can either configure BND (el-api.jar.tmp.bnd) to add it or
add "ExpressionFactory.class.getModule().addUses(ExpressionFactory.class);" in
the ExpressionFactory class.
- missing Module package on org.apache.tomcat.jasper.el, the includepackage
option of jasper-el.jar.tmp.bnd seems ignored.
- JSP compilation failed, but I did not look onto it yet

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to