ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leif Hanack" <leif.han...@t-systems.com>
Subject <copy> Problems with newer files?!
Date Wed, 31 Jul 2002 12:52:01 GMT
Hello,

i have a strange problem. i created a ant script for a new project and copy
works fine.
now i tried to use ant for an old project and have to notice that the
copy-task did not
work properly. everytime ant is copying the hole sources!

Any idea?!

Here is one of my Targets:

    <target name="build.html" depends="init" description="Copy HTML.">
        <echo message="copy HTML" />
        <mkdir dir="${dest.dir}"/>
        <copy todir="${dest.dir}" >
            <fileset dir="${web.dir}" >
                <include name="**/*.html" />
                <include name="**/*.htm" />
                <include name="**/*.js" />
                <exclude name="**/CVS/**"/>
            </fileset>
        </copy>
    </target>


the timestamp for the source is 29 April 2002, after a copy the date is set
to 31 july 2002.

after a second call of this target, he copies again?!


Thanks in advance, Leif


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message