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 13:53:00 UTC

[jira] [Resolved] (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

     [ https://issues.apache.org/jira/browse/SLING-9228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu resolved SLING-9228.
---------------------------------
    Resolution: Fixed

Added in [commit 2333617|https://github.com/apache/sling-org-apache-sling-scripting-jsp/commit/2333617].

> 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
>            Priority: Major
>             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 the name of this property is hardcoded.
> 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 name should also be exposed through a constant.



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