tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: How do I call JspC manually?
Date Mon, 01 Sep 2014 07:23:29 GMT
2014-09-01 10:48 GMT+04:00 Aaron Lewis <the.warl0ck.1989@gmail.com>:
> Hi,
>
> It looks like org.apache.jasper.JspC has a main() method defined,
> So how should I call it to generate the desired .class file?


1)
http://tomcat.apache.org/tomcat-8.0-doc/jasper-howto.html#Web_Application_Compilation

2)
Generally, bin/tool-wrapper.bat, bin/tool-wrapper.sh is designed as a
wrapper for such command-line tools, but JspC depends on
org.apache.tools.ant.Task, so you need to have Apache Ant libs on the
classpath.

3)
protected static final String SWITCH_HELP = "-help";

Best regards,
Konstantin Kolinko

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


Mime
View raw message