tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: javax.tools based JSP compiler
Date Wed, 04 Apr 2018 07:54:48 GMT
On 04/04/18 08:52, Rémy Maucherat wrote:
> On Wed, Apr 4, 2018 at 9:34 AM, Emmanuel Bourg <ebourg@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message