Removing TestRun.out file
Hi,
I have written a runner configuration as documented here. (http://www.jetbrains.org/intellij/sdk/docs/basics/run_configurations.html) But every time I run my runner configuration logs/TestRun.out file is created within my project.
How can I disable the creation of this file?
Please sign in to leave a comment.
I'm not sure what exactly you wrote, but RunConfigurationBase.isSaveOutputToFile() might help you
Hi Vassiliy,
Let me explain further, I've written a custom ProgramRunner extending com.intellij.execution.runners.DefaultProgramRunner. Each time I run this, a file named TestRun.out is created within my maven project inside the logs directory.
I've tried overriding RunConfigurationBase.isSaveOutputToFile() method and returning false. Still the file is being created.
I've just checked our sources. As I can see we don't generate any ".out" files until it's explicitly configured.
I see. thanks for the response Vassiliy. I'll try to see if I can catch the process which creates the file.