Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:

Go Back   Caucho Forums > Resin

Thread Tools Display Modes
Old 05-24-2012, 03:02 PM
jpaagt jpaagt is offline
Junior Member
Join Date: May 2012
Posts: 1
Default Resin4 JspCompiler -conf parameter


I'm currently trying to configure my build process to pre-compile the JSP files by running com.caucho.jsp.JspCompiler of resin 4. However, the compilation process seems to try to log to the log files defined in my resin-web.xml instead of logging to the standard output / error. The call looks like

java com.caucho.jsp.JspCompiler -app-dir <app-dir> <app-dir>
How can I tell the JspCompiler to log to the standard output / error instead?

I've seen that using the -conf argument you can define the path to a config file. But then I have problems with class loading during to compilation.

Thank you
Reply With Quote
Old 06-06-2012, 06:36 AM
RICK RICK is offline
Join Date: Mar 2012
Location: New York
Posts: 30
Default Good question

I don't think there is a clear, easy way to do this.
I took a look at the code and the documentation.

You could file a feature request:

Also if you have support, you can send us an email and we will file it for you.

One way which you might try is create an xml file that includes the one for the webapp.

 put logging config you want here....
 <resin:import path="somepath/WEB-INF/resin-webapp.xml"/>


I agree there should be an easier way to turn on logging for compilation.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:05 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.