relative directory for config files

11 views
Skip to first unread message

dg

unread,
Apr 14, 2020, 4:25:57 AM4/14/20
to CAS Community
hello, the question seems easy but how can we provide relative directory for config files?

for example, i want to setup up json location in cas.properties but i dont want to give full path.

cas.serviceRegistry.json.location=file:///etc/cas/services

i expect that get files from (project-root-directory/etc/cas/services), but it works as C:/etc/cas/services

thanks

dg

unread,
Apr 14, 2020, 4:59:31 AM4/14/20
to CAS Community
ok, that was simple as i said. i works as expected when i change to file:etc/cas/services.

14 Nisan 2020 Salı 11:25:57 UTC+3 tarihinde dg yazdı:
Reply all
Reply to author
Forward
0 new messages