[
https://issues.apache.org/jira/browse/SLING-9228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu updated SLING-9228:
--------------------------------
Description:
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.
was:
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 should also be exposed through a constant.
> 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)