Eric Milles commented on GROOVY-9478:

Not sure if this is covered in Groovy's Ant documentation, but you can run 
scripts using the built-in script tag with the help of the groovy-jsr223 module.

        <script language="groovy">
                <fileset dir="${dir.libraries}" includes="**/groovy*.jar" />
            System.setProperty('foobar', 'true')

It supports source, encoding, etc.  

> Groovy Ant task could support Ant resources
> -------------------------------------------
>                 Key: GROOVY-9478
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9478
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Ant integration
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h

This message was sent by Atlassian Jira

Reply via email to