does anybody know if its possible to use a relativ...
# announcements
s
does anybody know if its possible to use a relative path instead of an absolute path here https://pastebin.com/Rut9wPi5 so that the jar file will work with the txt file at various places?
n
I'd just make those files arguments you pass in via
args
s
file paths as arguments you mean?
n
yea
s
relative paths won't work?
n
relative to what?
s
changing line 7 to something like val employerNamesList = readFileAsLinesUsingReadLinesForEmployerTxt(("employer.txt")) ?
n
sure, that'll work fine
provided the CWD contains employer.txt