When I added the Atlassian Clover for IDEA plugin to a fresh IntelliJ 13 install my project will not build with clover enabled and has the following error on every class:
package com_cenqua_clover does not exist.
Anyone else running into this or is this a problem in just my environment?
Compilation of code instrumented by Clover 3.2.0 under IDEA13 fails with an error message "package com_cenqua_clover does not exist". This is caused by a fact that the Clover JAR file is not found (the "Clover IDEA Plugin" in Project Structure > Global Libraries) in the external build process. This is releated with a bug http://youtrack.jetbrains.com/issue/IDEA-118928.
Copy the Clover JAR to a location outside the IDEA's plugin directory (typically ~\.IntelliJIdea\config\plugins). Add this JAR as a dependency to your module(s).
Open the Project Structure dialog. Go to the "Platform Settings > Global Libraries". Find the "Clover IDEA Plugin" global library on the list and copy the path to JAR (e.g. "c:\Users\Alice\.IntellijIDEA\config\plugins\clover-idea-3.2.0.jar"). Copy this JAR to another location (e.g. "C:\MyLibraries\clover-idea-3.2.0.jar"). Define new global library (e.g. "Clover IDEA Plugin 2"). Add this library as dependency to your modules.
Tip: do not modify exisiting "Clover IDEA Plugin" - if you change a path, it will be reset by Clover.
Whenever a run configuration (for instance for JUnits) is edited, new NullPointerException entries will appear in the Event Log view. For example:
null java.lang.NullPointerException at com.cenqua.clover.idea.junit.config.OptimizedConfigurationSettingsPanel.resetEditorFrom(OptimizedConfigurationSettingsPanel.java:63)
null java.lang.NullPointerException at com.cenqua.clover.idea.junit.config.OptimizedConfigurationSettingsPanel.applyEditorTo(OptimizedConfigurationSettingsPanel.java:76)
This is related with Clover's test optimization feature.
Not possible. Test optimization with Clover 3.2.0 and IDEA13 will not work. Please wait for a Clover 3.2.1 bug fix release.
I'm John Allspaw, co-founder of Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs