Sun Java System Application Server Platform Edition 9 Developer's Guide

Attributes of sun-appserv-jspc

The following table describes attributes for the sun-appserv-jspc task.

Table 3–8 The sun-appserv-jspc Attributes






The destination directory for the generated Java source files. 



(exactly one of these is required: srcdir or webapp) The source directory where the JSP files are located.



(exactly one of these is required: srcdir or webapp) The directory containing the web application. All JSP files within the directory are recursively parsed. The base directory must have a WEB-INF subdirectory beneath it. When webapp is used, sun-appserv-jspc hands off all dependency checking to the compiler.



(optional) The verbosity integer to be passed to the compiler. 



(optional) The classpath for running the JSP compiler. 



(optional) A reference to the JSP compiler classpath. 



(optional) The URI context of relative URI references in the JSP files. If this context does not exist, it is derived from the location of the JSP file relative to the declared or derived value of uriroot. Only pages translated from an explicitly declared JSP file are affected.


see description 

(optional) The root directory of the web application, against which URI files are resolved. If this directory is not specified, the first JSP file is used to derive it: each parent directory of the first JSP file is searched for a WEB-INF directory, and the directory closest to the JSP file that has one is used. If no WEB-INF directory is found, the directory from which sun-appserv-jspc was called is used. Only pages translated from an explicitly declared JSP file (including tag libraries) are affected.



(optional) The destination package for the generated Java classes. 


see description 

(optional) The installation directory for the local Application Server installation, which is used to find the administrative classes. If not specified, the command checks if the asinstalldir parameter has been set. Otherwise, administrative classes must be in the system classpath.