Anonymous | Login | Signup for a new account | 12-17-2024 11:43 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001870 | [Resin] | minor | always | 07-12-07 12:03 | 07-26-07 16:34 | ||||
Reporter | sam | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.1 | ||||||
Summary | 0001870: JspCompiler should default to compiling all JSP in -app-dir | ||||||||
Description |
(rep by A Deshpande) Using Resin 3.1.1 and an ant build script, I'm tring to precompile jsps in my web application before building the war. The command seems to run, but produces no output and nothing is actually created in the work directory. <arg value="-app-dir"/> <arg path="${webApp.root}"/> <arg value="-class-dir"/> <arg path="${webApp.work}"/> <arg value="-conf"/> <arg path="${resin.conf}"/> |
||||||||
Additional Information |
The problem is that there was a missing argument, the JspCompiler expects a list of targets to compile after the options. It should default to compiling all of the jsp in -app-dir if nothing else is specified. Until that is changed, the workaround is to pass the app-dir again, as the final argument: <arg value="-app-dir"/> <arg path="${webApp.root}"/> <arg value="-class-dir"/> <arg path="${webApp.work}"/> <arg value="-conf"/> <arg path="${resin.conf}"/> <arg path="${webApp.root}"/> |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |