From: Olivier Lamy Date: Thu, 13 Oct 2011 13:39:40 +0000 (+0000) Subject: update timestamp on index save X-Git-Tag: archiva-1.4-M1~25 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=addd86fec768846339780da5d5f09afaa3c6bcf1;p=archiva.git update timestamp on index save git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1182850 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java index 15fc25951..3d9a0b199 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java @@ -245,6 +245,7 @@ public class ArchivaIndexingTaskExecutor : new File( indexDirectory ); IndexPackingRequest request = new IndexPackingRequest( context, indexLocation ); indexPacker.packIndex( request ); + context.updateTimestamp( true ); log.debug( "Index file packaged at '{}'.", indexLocation.getPath() );