Groovy
  1. Groovy
  2. GROOVY-5025

Add control on how Global Transforms are loaded/applied

    Details

      Description

      It would be nice to have more control on how the global transforms are loaded and applied. For example, there is no way to avoid the GrabAnnotationTransformation to be applied even if you forbid it through the use of a (Security) CompilerCustomizer.

      According to Cédric Champeau it is not that trivial because the Global Transforms process is tightly hardwired with the compilation process. The only (ugly) workaround is to override the Groovy classloader.

      It should be nice if you could specify a sort of "blacklist" of GlobalTransforms that has to be ignored during the compilation phase.

      Ideally, it should be possible to do this with a Compiler Customization.

        Issue Links

          Activity

          Fabien Hulliez created issue -
          Cédric Champeau made changes -
          Field Original Value New Value
          Assignee Cedric Champeau [ melix ]
          Cédric Champeau made changes -
          Link This issue is depended upon by GROOVY-5055 [ GROOVY-5055 ]
          Cédric Champeau made changes -
          Fix Version/s 1.9-beta-4 [ 17656 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Paul King made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
          Mark Thomas made changes -
          Workflow jira [ 12733950 ] Default workflow, editable Closed status [ 12745656 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
          Mark Thomas made changes -
          Workflow jira [ 12971384 ] Default workflow, editable Closed status [ 12979225 ]

            People

            • Assignee:
              Cédric Champeau
              Reporter:
              Fabien Hulliez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development