[ https://issues.apache.org/jira/browse/GROOVY-11607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945701#comment-17945701 ]
Björn Kautler commented on GROOVY-11607: ---------------------------------------- Ah, thanks [~emilles], did not got that {{src}} itself is a path-like structure. {code} <groovyc srcdir="test"> <exclude name="foo.groovy"/> </groovyc> {code} is doing what I needed. Your second example, the one after {{or}} though is exactly what I wrote in the description, which does not work. :-) > 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)