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

Groovyc Ant task hard-codes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.3
    • Fix Version/s: 1.7.4, 1.8-beta-1
    • Component/s: Ant integration
    • Labels:
      None
    • Flags:
      Patch

      Description

      The ant task for Groovy hard-codes the glob pattern "*.groovy" when searching for source files. This obviously doesn't work for those of us who use a different extension (like ".g"). I've attached a patch that adds a property called "scriptExtension" to the task, which parallels GMaven's defaultScriptExtension property. This makes the extension configurable. It defaults to ".groovy" but can be changed if one uses something different.

        Attachments

        1. script-extension-patch.txt
          2 kB
          Jon Brisbin

          Activity

            People

            • Assignee:
              roshandawrani Roshan Dawrani
              Reporter:
              jonbrisbin Jon Brisbin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: