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

Allow Ant targets declaration by AntBuilder without immediate execution.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6-beta-1
    • 2.4.0-beta-1
    • Ant integration
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: