Radu Cotescu created SLING-9141: ----------------------------------- Summary: Refactor modules generating Java code to use the org.apache.sling.commons.compiler.source.JavaEscapeHelper utility Key: SLING-9141 URL: https://issues.apache.org/jira/browse/SLING-9141 Project: Sling Issue Type: Task Components: Scripting, Tooling Reporter: Radu Cotescu Assignee: Radu Cotescu
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. -- This message was sent by Atlassian Jira (v8.3.4#803005)