Björn Kautler created GROOVY-11607:
--------------------------------------

             Summary: Nested <src> in <groovyc> Ant task is not handled nicely
                 Key: GROOVY-11607
                 URL: https://issues.apache.org/jira/browse/GROOVY-11607
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 4.0.26
            Reporter: Björn Kautler


I tried to configure {{groovyc}} Ant task so that a specific Groovy file is not 
compiled.
But it seems all nested `src` results are always treated as directories, not as 
what they are.
I for example tried using
{code:xml}
<groovy:src>
    <fileset dir="test">
        <exclude name="foo.groovy"/>
    </fileset>
</groovy:src>
{code}
but that gave an error that {{otherfile.groovy}} is not a directory.
And the task also has no other means of including or excluding files as far as 
I have seen.
If the {{src}} would have been treated correctly, that wouldn't have been a 
problem though.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to