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

Allow Ant targets declaration by AntBuilder without immediate execution.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6-beta-1
    • Fix Version/s: 2.4.0-beta-1
    • Component/s: Ant integration
    • Labels:
      None

      Description

      Currently it is not possible to use AntBuilder to declare targets without invoking them.
      When antBuilder.target(..)

      {...}

      is invoked, the target is executed immediately.
      This also makes difficult to declare targets complex with dependencies.

      It would be great if antBuilder.target

      {..}

      only created target without invoking it.
      Then it would be possible to invoke target after all configuration is done.

        Attachments

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              enterit Sergey Bondarenko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: