]> source.dussan.org Git - archiva.git/commitdiff
update timestamp on index save
authorOlivier Lamy <olamy@apache.org>
Thu, 13 Oct 2011 13:39:40 +0000 (13:39 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 13 Oct 2011 13:39:40 +0000 (13:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1182850 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/main/java/org/apache/archiva/scheduler/indexing/ArchivaIndexingTaskExecutor.java

index 15fc25951338e298fbf51c46e1208806c8bf0cd7..3d9a0b199552e25dcf104bcd860d311f59331180 100644 (file)
@@ -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() );