Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1870 | minor | always | 07-12-07 12:03 | 07-26-07 16:34 | |
|
|||||
Reporter: | sam | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.3 | ||
|
|||||
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}"/> |
||||
Steps To Reproduce: | |||||
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}"/> |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|