![]() |
|
#1
|
|||
|
|||
|
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> 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 |
|
#2
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|