Caucho Forums  

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


Go Back   Caucho Forums > Resin

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

Hi,

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

Code:
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
  #2  
Old 06-06-2012, 06:36 AM
RICK RICK is offline
Member
 
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:

http://bugs.caucho.com/view_all_bug_page.php

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.

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

see http://www.caucho.com/resin-3.0/jsp/compile.xtp


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

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 05:03 PM.


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