How to get the current working directory in a Scala application:
There may be other ways to do this, but I just use the Java current directory approach:
def getCurrentDirectory = new java.io.File( "." ).getCanonicalPath