build jars without test classes
In the Build > Build jars function, is there a way to build a jar without the test classes?
In the "Include in the jar file" area, there are four package methods, I'm using "copy module output to" method (and also tried others) and the produced jar contains everything in the module output including the test output.
Please sign in to leave a comment.
No, it isn't possible. You can create a Jira issue for this feature (http://jetbrains.net/jira/browse/IDEA).
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hello Nikolay,
>> In the Build > Build jars function, is there a way to build a jar
>> without the test classes?
>>
>> In the "Include in the jar file" area, there are four package
>> methods, I'm using "copy module output to" method (and also tried
>> others) and the produced jar contains everything in the module output
>> including the test output.
>>
The issue already exists: http://www.jetbrains.net/jira/browse/IDEABKL-4520
Alexander.
thank you. I've voted.
I think that feature is really necessary. If we want to run test cases, we don't need to build a jar. And when we want to build a jar, it's likely we don't want the test cases.