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

Groovyc Ant task hard-codes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment