[ 
https://issues.apache.org/jira/browse/NUTCH-2974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677428#comment-17677428
 ] 

Sebastian Nagel commented on NUTCH-2974:
----------------------------------------

Ok, after a closer look: Ant's [copy 
task|https://ant.apache.org/manual/Tasks/copy.html] would overwrite already 
existing configuration files (eventually modified) if the template file is 
newer. This may happen if the template was updated by a commit or also by 
switching between branches, etc. Touching the templates to a date back in time 
ensures that no configuration files are overwritten.

> Ant build fails with "Unparseable date" on certain platforms
> ------------------------------------------------------------
>
>                 Key: NUTCH-2974
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2974
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.19
>            Reporter: Sebastian Nagel
>            Priority: Major
>             Fix For: 1.20
>
>
> When touching the configuration templates the ant build fails on certain 
> platforms, see NUTCH-2512 and recently by [Kamil Mroczek on the users 
> list|https://lists.apache.org/thread/dc36ofc6kvvx3fxlqbnzqdcp73yjcj8m], 
> including a fix.
> However, we should also consider removing the "touch" action if it's not 
> clear what the purpose of it is - it's there since the initial import of the 
> Nutch source code to the Apache repository. Could be obsolete now.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to