Mantis Bugtracker
  

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

- Relationships

- Notes
(0002146)
ferg
07-26-07 16:34

jsp/193e
 

- Issue History
Date Modified Username Field Change
07-12-07 12:03 sam New Issue
07-26-07 16:34 ferg Note Added: 0002146
07-26-07 16:34 ferg Assigned To  => ferg
07-26-07 16:34 ferg Status new => closed
07-26-07 16:34 ferg Resolution open => fixed
07-26-07 16:34 ferg Fixed in Version  => 3.1.3


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker