ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhavin Patel <bpa...@go2.com>
Subject Possible Bug?
Date Wed, 06 Jun 2001 21:39:55 GMT
Anyone ever try to copy a directory and flatten it, while having a mapper
rename the files?

I think if you have the mapper rename the files the flatten="yes" is
ignored.

For example:

        <copy todir="${ship.dir}" flatten="yes">
           <fileset dir="${src.dir}" includes="**/*.src" />
           <mapper type="glob" from="*.src" to="*.html" />
        </copy>

This doesn't flatten the directory

but if i take the reference out to the mapper it does....
 
am i doing something wrong?


Mime
View raw message