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

Groovyc Ant task hard-codes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.3
    • 1.7.4, 1.8-beta-1
    • Ant integration
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: