On 04/04/18 08:52, Rémy Maucherat wrote: > On Wed, Apr 4, 2018 at 9:34 AM, Emmanuel Bourg <ebo...@apache.org> wrote: > >> Hi all, >> >> Has anyone considered using the javax.tools API (JSR 199) to compile the >> JSPs yet? This could provide a unified API to compile the JSPs since ECJ >> also implements this API, and it would simplify the integration of javac >> with Tomcat (no need to copy the Ant jars). With the new Java release >> schedule I think more people will consider switching to javac to benefit >> from the new language features before ECJ implements them, better >> integrating javac would help this use case. > > I like the implicit hint that scriptlets are really cool, and especially > if you start using new funny language constructs. I just don't get this > sort of request *at all*. > So it's a -0 from me.
I like the idea of simplifying the integration of javac - irrespective of the reasoning for wanting to use javac. I guess it is something to look at in Tomcat 10. Whether or not it gets back-ported is a different question. I guess it depends what the solution ends up looking like. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org