On 27/09/2016 10:50, agharta wrote:
> Hi,
> Thanks for reply.
> 
> This could be a nice test to do. And i do it :-)
> 
> Sorry my poor skill, how to set Jasper to use javac?
> And vice-versa, how to set ant to use Eclipse?

Jasper to use javac:
- set the compiler init parameter in $CATALINA_BASE/conf/web.xml
- see http://tomcat.apache.org/tomcat-9.0-doc/jasper-howto.html

It has been a while since I've done this but the docs for the compiler
attribute should tell you everything you need.

Mark


> 
> 
> Thanks a lot,
> Best regards,
> Agharta
> 
> 
> On 09/27/2016 11:45 AM, Mark Thomas wrote:
>> On 27/09/2016 09:58, agharta wrote:
>> <snip/>
>>
>>> So, errors comes up only at runtime compilation. Why?
>> Compiler differences. Pre-compilation uses Javac. Runtime compilation
>> uses the compiler from Eclipse (by default).
>>
>> Another option to consider would be to run Tomcat on a JDK and configure
>> Jasper to compile with javac.
>>
>> Mark
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to