Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MJT-1

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MJT-1
    Summary: copyResources does not preservelastmodified
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jelly-tags
   Versions:
             1.0

   Assignee: 
   Reporter: Matthias Kerkhoff

    Created: Thu, 24 Jun 2004 11:45 AM
    Updated: Thu, 24 Jun 2004 11:45 AM
Environment: maven-1.0rc3

Description:
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. 



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to