groovy
  1. groovy
  2. GROOVY-5055

Default AST transformations classes list to be set from command line and groovy-starter.conf

    Details

    • Type: Wish Wish
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Issue Links

        Activity

        Hide
        CÚdric Champeau added a comment -

        Do you mean you want a way to add a global ast transformation from command line ?

        Show
        CÚdric Champeau added a comment - Do you mean you want a way to add a global ast transformation from command line ?
        Hide
        Gunchin Aleksey added a comment -

        yes

        Show
        Gunchin Aleksey added a comment - yes
        Hide
        CÚdric Champeau added a comment -

        Both issues show that the global AST transformation mechanism implemented so far is not easily customizable.

        Show
        CÚdric Champeau added a comment - Both issues show that the global AST transformation mechanism implemented so far is not easily customizable.
        Hide
        CÚdric Champeau added a comment -

        For my understanding, why do you need to add global transforms from command line ? Isn't the META-INF/services/org.codehaus.groovy.transform.ASTTransformation file sufficient ?

        Show
        CÚdric Champeau added a comment - For my understanding, why do you need to add global transforms from command line ? Isn't the META-INF/services/org.codehaus.groovy.transform.ASTTransformation file sufficient ?
        Hide
        Guillaume Laforge added a comment -

        From the command-line, one could add a jar on the classpath with the meta-inf info, like suggested by CÚdric.

        Show
        Guillaume Laforge added a comment - From the command-line, one could add a jar on the classpath with the meta-inf info, like suggested by CÚdric.

          People

          • Assignee:
            CÚdric Champeau
            Reporter:
            Gunchin Aleksey
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: