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

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Scripting, Tooling
    • 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

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: