You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Mark Womack <mw...@bevocal.com> on 2002/06/20 20:47:32 UTC

task always copies some files

I am using <copy> to copy some files.  It is set up to use
preservelastmodified and a fileset, something like this:

        <copy todir="${webapp.copy_dir}"
              preservelastmodified="true">
            <fileset dir=".">
                <include name="WEB-INF/**"/>
                <include name="config.xml"/>
            </fileset>
        </copy>

My problem is that after I have copied the set of files once and perform the
copy again, the <copy> task recopies some of the files, even though none of
the files have changed.  And not all of them get recopied, just some.  I am
at a loss to see anything different about the files that are getting
recopied, but it appears to be a consistent set.

Anyone have any ideas?  Something I can look at?

thanks,
-Mark

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: task always copies some files

Posted by Diane Holt <ho...@yahoo.com>.
--- Mark Womack <mw...@bevocal.com> wrote:
> I am using <copy> to copy some files.
[snip]
> My problem is that after I have copied the set of files once and perform
> the copy again, the <copy> task recopies some of the files, even though
> none of the files have changed.  And not all of them get recopied, just
> some.

Do the ones it happens to have anything in common, or is it just a
(seemingly) random subset?

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>