working directory in run/debug configurations

What's that for? IDEA refuses to start a test if the working directory is
not set to a valid path, but it doesn't seem to use it at all (apart from
looking for java.exe there and not finding it, as reported by filemon). Am I
missing something?


1 comment
Comment actions Permalink

On Wed, 28 Jan 2004 16:15:02 -0500, Andrei Oprea wrote:

What's that for?

It becomes the `present working directory' of the running application.
For example, if I set the working directory to /home/mscott then :

new File("tmp").getAbsolutePath()

returns "/home/mscott/tmp"

Mark Scott


Please sign in to leave a comment.