You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jaco de Groot <ja...@eo.nl> on 2000/11/28 11:27:54 UTC

[PATCH] preservelastmodified attribute for copy task

Hi,

I've created a patch wich gives the copy task a preservelastmodified attribute.
This attribute will make the last modified time of the copied file the same as
the original file (defaults to "no"). Any comments on this patch?

Jaco

Re: [PATCH] preservelastmodified attribute for copy task

Posted by Peter Donald <do...@apache.org>.
At 08:49  14/12/00 +0100, Jaco de Groot wrote:
>Jaco de Groot wrote:
>> 
>> Hi,
>> 
>> I've created a patch wich gives the copy task a preservelastmodified
attribute.
>> This attribute will make the last modified time of the copied file the
same as
>> the original file (defaults to "no"). Any comments on this patch?
>
>There seem to be no comments, neither negative :) or positive :(
>Maybe a vote on committing this patch to cvs is appropriate?
>Any votes?


I must of missed the original submission - soz ;) If no one objects I will
add it to CVS in a few days ??

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Re: [PATCH] preservelastmodified attribute for copy task

Posted by Jaco de Groot <ja...@eo.nl>.
Jaco de Groot wrote:
> 
> Hi,
> 
> I've created a patch wich gives the copy task a preservelastmodified attribute.
> This attribute will make the last modified time of the copied file the same as
> the original file (defaults to "no"). Any comments on this patch?

There seem to be no comments, neither negative :) or positive :(
Maybe a vote on committing this patch to cvs is appropriate?
Any votes?

Jaco

Re: [PATCH] preservelastmodified attribute for copy task

Posted by Peter Donald <do...@apache.org>.
At 12:18  15/12/00 +0100, Jaco de Groot wrote:
>Peter Donald wrote:
>> 
>> Hi,
>> 
>> At 11:27  28/11/00 +0100, Jaco de Groot wrote:
>> >I've created a patch wich gives the copy task a preservelastmodified
>> attribute.
>> >This attribute will make the last modified time of the copied file the
>> same as
>> >the original file (defaults to "no"). Any comments on this patch?
>> 
>> Could you verify that I applied it correctly ? Thanks
>
>Yep, seems to be okay. I guess the documentation needs to be updated. Can you
>add the following to it?
>
>  <tr>
>    <td valign="top">preservelastmodified</td>
>    <td valign="top">Give the copied files the same last modified
>      time as the original files. Defaults to &quot;no&quot;.</td>
>    <td valign="top" align="center">No</td>
>  </tr>

done.

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Re: [PATCH] preservelastmodified attribute for copy task

Posted by Jaco de Groot <ja...@eo.nl>.
Peter Donald wrote:
> 
> Hi,
> 
> At 11:27  28/11/00 +0100, Jaco de Groot wrote:
> >I've created a patch wich gives the copy task a preservelastmodified
> attribute.
> >This attribute will make the last modified time of the copied file the
> same as
> >the original file (defaults to "no"). Any comments on this patch?
> 
> Could you verify that I applied it correctly ? Thanks

Yep, seems to be okay. I guess the documentation needs to be updated. Can you
add the following to it?

  <tr>
    <td valign="top">preservelastmodified</td>
    <td valign="top">Give the copied files the same last modified
      time as the original files. Defaults to &quot;no&quot;.</td>
    <td valign="top" align="center">No</td>
  </tr>

Jaco

Re: [PATCH] preservelastmodified attribute for copy task

Posted by Peter Donald <do...@apache.org>.
Hi,

At 11:27  28/11/00 +0100, Jaco de Groot wrote:
>I've created a patch wich gives the copy task a preservelastmodified
attribute.
>This attribute will make the last modified time of the copied file the
same as
>the original file (defaults to "no"). Any comments on this patch?

Could you verify that I applied it correctly ? Thanks

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*