You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Denis Antrushin <DA...@mail.ru> on 2003/02/12 14:02:41 UTC

conditional include in Fileset

Hello,

I'm confused with a conditional include behaviour
in FileSet.

What would be result of

<fileset dir="${basedir}>
     <include="subdir/*.java" if="some.property"/>
</fileset>

if some.property is not set?
I thought it would result in content of ${basedir},
but in practice, it yields emty set.

Is it bug in ant or I just misunderstood documentation?

Thanks,
  Denis