Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9141

Refactor modules generating Java code to use the org.apache.sling.commons.compiler.source.JavaEscapeHelper utility

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Scripting, Tooling
    • Labels:
      None

      Description

      Several Sling modules generate Java code (e.g. HTL compilers, JSP script engine, JSPC Maven Plugin, HTL Maven Plugin), but each has its own strategy / classes for generating valid Java code / classes. Since the org.apache.sling.commons.compiler.source.JavaEscapeHelper is an easy to reuse class, it would be better to refactor modules to rely on this helper, in order to generate code / classes using the same naming patterns.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: