update timestamp on index save

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1182850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-10-13 13:39:40 +00:00
parent 6b856d8b19
commit addd86fec7
1 changed files with 1 additions and 0 deletions

View File

@ -245,6 +245,7 @@ public class ArchivaIndexingTaskExecutor
: new File( indexDirectory ); : new File( indexDirectory );
IndexPackingRequest request = new IndexPackingRequest( context, indexLocation ); IndexPackingRequest request = new IndexPackingRequest( context, indexLocation );
indexPacker.packIndex( request ); indexPacker.packIndex( request );
context.updateTimestamp( true );
log.debug( "Index file packaged at '{}'.", indexLocation.getPath() ); log.debug( "Index file packaged at '{}'.", indexLocation.getPath() );