You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by sn...@apache.org on 2023/02/17 14:17:28 UTC
[nutch] branch master updated: NUTCH-2974 Ant build fails with "Unparseable date" on certain platforms
This is an automated email from the ASF dual-hosted git repository.
snagel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/master by this push:
new 541e6936d NUTCH-2974 Ant build fails with "Unparseable date" on certain platforms
new 19dbe7866 Merge pull request #752 from sebastian-nagel/NUTCH-2974
541e6936d is described below
commit 541e6936dfb1a07fe4c915b8b95c6b5cfdf2aeb0
Author: Sebastian Nagel <sn...@apache.org>
AuthorDate: Mon Jan 16 14:22:20 2023 +0100
NUTCH-2974 Ant build fails with "Unparseable date" on certain platforms
---
build.xml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/build.xml b/build.xml
index 004a12191..594fabc24 100644
--- a/build.xml
+++ b/build.xml
@@ -102,7 +102,12 @@
<mkdir dir="${test.build.classes}"/>
<mkdir dir="${test.build.lib.dir}"/>
- <touch datetime="01/25/1971 2:00 pm">
+ <touch millis="33660000000">
+ <!-- touch templates back in time to ensure that
+ custom-configured configuration files are never overwritten
+ even if the template was updated. Use millis instead of
+ datetime="01/25/1971 2:00:00 pm" to avoid issues with
+ non-English locales -->
<fileset dir="${conf.dir}" includes="**/*.template"/>
</touch>