[
https://issues.apache.org/jira/browse/GROOVY-11607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles resolved GROOVY-11607.
----------------------------------
Fix Version/s: 5.0.0-alpha-13
Resolution: Fixed
> 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
> Components: Ant integration
> Affects Versions: 4.0.26
> Reporter: Björn Kautler
> Assignee: Eric Milles
> Priority: Major
> Fix For: 5.0.0-alpha-13
>
>
> 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)