Skip to content

Commit 0cdecda

Browse files
MOTECH-2037: Make motech directory configerable
1 parent 23ece7d commit 0cdecda

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

maven.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ motech.sql.password=password
44
motech.sql.driver=com.mysql.jdbc.Driver
55
motech.sql.url=jdbc:mysql://localhost:3306/
66

7-
motech.dir=${sys:user.home}/.motech
7+
motech.dir=${user.home}/.motech
88

99
# Controls Which bootstrap file from testdata will be copied to ~/motech/config before ITs.
1010
# The file is copied from testdata/${motech.sql.dbtype}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
config.location=${motech.dir}/config/, /etc/motech/, \\${motech.dir}/config/
1+
config.location=${sys:user.home}/.motech/config/, /etc/motech/, \\${sys:user.home}/.motech/config/
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
config.location=${motech.dir}/configtest, ${motech.dir}
1+
config.location=${sys:user.home}/.motech/configtest, ${sys:user.home}/.motech
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
config.location=${motech.dir}/configtest/config/, ${motech.dir}/config/, /etc/motech/
1+
config.location=${sys:user.home}/.motech/configtest/config/, ${sys:user.home}/.motech/config/, /etc/motech/
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
config.location=${motech.dir}/config/
1+
config.location=${sys:user.home}/.motech/config/

testdata/config-locations.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
config.location=${motech.dir}/configtest/config/, ${motech,dir}/config/, /etc/motech/
1+
config.location=${sys:user.home}/.motech/configtest/config/, ${sys:user.home}/.motech/config/, /etc/motech/

0 commit comments

Comments
 (0)