Uploaded image for project: 'Sling'
  1. Sling
  2. 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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Scripting JSP 2.5.0
    • Scripting
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              radu Radu Cotescu
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: