Reply to comment

Scala - How to get the current directory in a Scala application

Category: 

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

Tags: 
Tags: 
Tags: 

Reply

The content of this field is kept private and will not be shown publicly.