Apache Ant does not include any file using my pattern
Here is zip task:
开发者_Python百科<zip destfile="${bindir}/HorizonWeb_bin.zip" >
<fileset dir="${basedir}/Horizon WEB Deploy/Release" >
<include name="*/*.bin" />
<exclude name="*/*.pdb" />
</fileset>
</zip>
What I do not understan is why it do not include any file while, for example, this one works:
<zip destfile="${bindir}/HorizonWeb.zip">
<fileset dir="${basedir}/Horizon WEB Deploy/Release" />
</zip>
Could anybody explain and input a working example?
Thanks for any help ;)
P.S. Using Jenkins 1.424, if it matters....
*/*.bin
means all the files ending with .bin
and being a a direct subdirectory of the fileset dir. Is it what you want?
Don't you rather want **/*.bin
, which means any file ending with .bin
, in the fileset dir or in any subdirectory of the fileset dir, recursively?
精彩评论