Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4318

Provide a mechanism for Global AST Transformations to be able to define a file extension for the Groovy sources they should be applied to

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.8-beta-1
    • 1.7.5, 1.8-beta-2
    • None
    • None

    Description

      Global AST transformations are applied to all sources that are compiled by the Groovy compiler.
      With a mechanism to "restrict" the files to be "transformed" by those transformations, we could more selectively apply them to the right set of sources.

      This can be useful for frameworks or DSLs, as global transforms can be applied just for test specifications, for DSL programs, etc.

      See this thread for discussion and possible strategies:
      http://groovy.markmail.org/search/?q=#query:%20from%3A%22Jochen%20Theodorou%22+page:1+mid:q2wzvm4npawqlrp5+state:results

      Attachments

        Issue Links

          Activity

            People

              roshandawrani Roshan Dawrani
              guillaume Guillaume Sauthier
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: