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?

0
4 comments
Avatar
Permanently deleted user

I'm not sure what exactly you wrote, but RunConfigurationBase.isSaveOutputToFile() might help you

0
Avatar
Permanently deleted user

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. 

0
Avatar
Permanently deleted user

I've just checked our sources. As I can see we don't generate any ".out" files until it's explicitly configured.

0
Avatar
Permanently deleted user

I see. thanks for the response Vassiliy. I'll try to see if I can catch the process which creates the file.

0

Please sign in to leave a comment.