<commit_before># download-client
GDI-BY DownloadClient

A Java 8 / JavaFX based desktop client to download geo data.

## Build

    $ mvn clean compile

## Bundle

    $ mvn clean package

## Run
To start with UI:

    $ mvn exec:java

To start in headless mode:

    $ mvn exec:java -Dexec.args=-headless [download-steps.xml ...]


With download-steps.xml being one or more download step files.
If you have built the jar file, run:

    $ java -jar target/downloadclient-1.0-SNAPSHOT.jar

or in headless mode:

    $ java -jar target/downloadclient-1.0-SNAPSHOT.jar --headless [download-steps.xml]

With `--config=<directory>` a folder with configuration files can be
specified which overwrite the defaults.

* `proxy.xml` To configure alternative HTTP(S) proxy settings.

      <ProxyConfiguration overrideSystemSetting="true|false" enableSNIExtension="true|false"><commit_msg>Adjust README to the new user/password arguments of the headless mode.<commit_after># download-client
GDI-BY DownloadClient

A Java 8 / JavaFX based desktop client to download geo data.

## Build

    $ mvn clean compile

## Bundle

    $ mvn clean package

## Run
To start with UI:

    $ mvn exec:java

To start in headless mode:

    $ mvn exec:java -Dexec.args=-headless [download-steps.xml ...]


With download-steps.xml being one or more download step files.
If you have built the jar file, run:

    $ java -jar target/downloadclient-1.0-SNAPSHOT.jar

or in headless mode:

    $ java -jar target/downloadclient-1.0-SNAPSHOT.jar --headless [download-steps.xml]

To access protected services you can pass the needed credentials with `--user=<user>` and `--password=<password>`
to the downloader.

With `--config=<directory>` a folder with configuration files can be
specified which overwrite the defaults.

* `proxy.xml` To configure alternative HTTP(S) proxy settings.

      <ProxyConfiguration overrideSystemSetting="true|false" enableSNIExtension="true|false">
{'fraction_non_alphanumeric': 0.09492047203694202, 'fraction_numerical': 0.00513083632632119, 'mean_word_length': 3.7794117647058822, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 19, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3328801', 'n_tokens_mistral': 604, 'n_tokens_neox': 569, 'n_words': 210}