[ http://jira.codehaus.org/browse/MAVEN-1623?page=all ]
     
Lukas Theussl closed MAVEN-1623:
--------------------------------

    Resolution: Fixed

> copyResources does not preservelastmodified
> -------------------------------------------
>
>          Key: MAVEN-1623
>          URL: http://jira.codehaus.org/browse/MAVEN-1623
>      Project: Maven
>         Type: Bug

>  Environment: maven-1.0rc3
>     Reporter: Matthias Kerkhoff
>     Priority: Minor
>      Fix For: 1.1-beta-3

>
>
> I noticed that whenever files are copied with the help of maven:copyResources 
> the lastModified time is updated.
> This happens because the underlying ant copyTask is not
> called with preserveLastModified=true.
> (org.apache.maven.jelly.tags.maven.CopyResources, lines 109-137)
> While this is only annoying for me, I can easily imagine situations in which 
> this behaviour will cause real problems.
> For example, commercial software often checks the last
> modified timestamp of some files. 
> Actually, I digged into this because I tried to understand why some ears and 
> rars in our project are constantly rebuild - even if we didn't change 
> anything between the builds. So, fixing this (or adding an additional 
> parameter to the tag) may also result in a performance gain.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to