Properties such as Excludes is not being passed on to antcall tasks

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

In your build.xml file you use antcall to run some tasks. You have defined some excludes, but when looking at the logs, you see:

file: Setup scanner in dir C:\path\to\example\dir with patternSet{ includes: [] excludes: [] }

i.e. the excludes is not being picked up.

Cause

  • By default, the inheritRefs for antcall task is set to false. Thus, all the references will not pass to the sub-build files.
  • <files> patternset is used instead of <fileset> patternset

Resolution

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Last modified on Jul 25, 2013

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.