You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2020/03/20 11:41:00 UTC

[jira] [Created] (SLING-9228) Export the name of the System property which is used by the Jasper compiler to set the default package name for generated classes

Radu Cotescu created SLING-9228:
-----------------------------------

             Summary: Export the name of the System property which is used by the Jasper compiler to set the default package name for generated classes
                 Key: SLING-9228
                 URL: https://issues.apache.org/jira/browse/SLING-9228
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: Scripting JSP 2.5.0


The Jasper compiler reads the default package name used for generating Java classes from JSP files from the {{org.apache.sling.scripting.jsp.jasper.Constants#JSP_PACKAGE_NAME}} constant. The constant is initialised by reading the {{org.apache.sling.scripting.jsp.jasper.Constants.JSP_PACKAGE_NAME}} system property, however this value is not defined anywhere.

In order to allow callers of the JSP compiler to set the default package name, the {{org.apache.sling.scripting.jsp.jasper.Constants.JSP_PACKAGE_NAME}} system property should also be exposed through a constant.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)