When I run unit tests in Intellij IDEA, it is creating a jar called casspath0.jar. In that jar is a Manifest file with the classpath needed for the test to run. How can I make intellij not do that?
More Details:
I am running Intellij IDEA 15.0.4, Java 1.8.0_77, Windows 7. The project is a gradle project that was imported into the IDE.
When running a unit test in debug mode, if I run
System.getProperty("java.class.path")
I see something like
C:\Users\me\AppData\Local\Temp\classpath0.jar;C:\Users\me\.IntelliJIdea15\system\groovyHotSwap\gragent.jar
and that is it. The rest of the classpath is in that classpath0.jar.
No one else in my office has this problem and this is a very old project (10+ years) that a lot of people (25+) work on. They all have the full classpath under that property rather than in a temporary jar. I speculate that there must be some setting that I am missing. This is causing problems with me not being able to successfully run our unit tests.
Thanks for any ideas.