testcontainers-java icon indicating copy to clipboard operation
testcontainers-java copied to clipboard

Use an OS-appropriate location for the properties file

Open liff opened this issue 3 years ago • 0 comments

Uses directories-jvm to resolve the configuration directory location. See: https://github.com/dirs-dev/directories-jvm#introduction

The old $HOME/.testcontainers.properties is still preferred if it exists.

New example locations:

  • Linux: /home/myuser/.config/testcontainers/testcontainers.properties
  • Windows: C:/Users/myuser/AppData/Roaming/testcontainers/config/testcontainers.properties
  • macOS: /Users/myuser/Library/Application Support/testcontainers/testcontainers.properties

liff avatar Dec 29 '22 13:12 liff