Skip to main content

MAVEN Get

The MAVEN Get application downloads files from the MAVEN raw database.

Download

maven_get.jar

Usage

java -jar maven_get.jar [options]
 -help         print help message and exit
 -version      print version info and exit
 -host <host>{=html}  the host name for the XINA Tunnel (default: localhost)
 -port <port>{=html}  the post for the XINA Tunnel (default: 41475)
 -ini  <path>{=html}  the path to the ini file (default: [cwd]maven_get.ini)
 -path <path>{=html}  the path to the downloads directory (default: [cwd]data)
 -appendts     append the entry timestamp to the file name

The ini file is loaded to get the starting timestamp. If the file does not exist, all files in the database will be downloaded. The ini file should contain a single section, "maven_get", with a single property, "ts", in the ISO format "yyyy-MM-ddTHH:mm:ss.SSS". For example:

[maven_get]
ts=2000-01-01T00:00:00.000

All entries with timestamps on or after the start timestamp will be loaded. Files are downloaded to the specified path. If the appendts flag is set, the names will be in the following format, where the timestamp is the timestamp of the entry:

[yyyy-MM-ddTHH.mm.ss.SSS]_[filename]

For example:

2000-01-01T00.00.00.000_somefile.ext

Entries are processed in order of entry timestamp. If an error occurs while downloading, the process stops and the timestamp of the incomplete entry is recorded to the ini file to resume from that point. If all files download successfully the current time is save to the ini file.

Change Log

1.0.2

  • changed saved timestamp to last entry

1.0.1

  • added append timestamp option

1.0.0

  • initial release