twc.repo-crawler-<version>-all.jar
from GitHub releases
java -jar twc.repo-crawler-<version>-all.jar <args>
with arguments (see below)Running the jar without arguments prints out the usage instructions.
-S twc.openmbee.org -P 8111 -ssl -W 9c368adc-10cc-45d9-bec6-27aedc80e68b -C 2000 -u openmbeeguest -pw guest
-S twc.openmbee.org -P 8111 -ssl -W 9c368adc-10cc-45d9-bec6-27aedc80e68b -R c6bede89-cd5e-487b-aca8-a4f384370759 -B 29110c0f-bdc1-4294-ae24-9fd608629cac -REV 350 -C 2000 -u openmbeeguest -pw guest
-S twc.openmbee.org -P 8111 -ssl -W 9c368adc-10cc-45d9-bec6-27aedc80e68b -R 6819171d-1f52-4792-a08d-15d50d47985a -B a95e8bd1-f7d2-433e-a0a1-0c1cd7702e59 -REV 229 -C 2000 -u openmbeeguest -pw guest
-Djavax.net.ssl.trustStore=<path to JKS file> -Djavax.net.ssl.trustStorePassword=<password of JKS file>
-jar
part-Djavax.net.debug=all
to check whether Java loaded the certificate correctlyssl
is enabled in CLI argumentsAt your own risk you can use the --trustAll
option to disable validation.
IntelliJ IDEA
with Kotlin plugin.File -> Open.. -> <project_path>
(Select Gradle
if needed.)Build -> Build Project
Run -> Run... -> com.incquerylabs.twc.repo.crawler.Crawler.kt
(set arguments in Configuration)./gradlew run --args='<args>'
with arguments (see above)./gradlew shadowJar
java -jar build/libs/twc.repo-crawler-<version>-all.jar <args>
with arguments (see above)