TeamCity for Plugin CI

I develop a plugin and am trying to get TeamCity correctly configured build the source. This project builds successfully in the IDE but does not TeamCity 7.1 (using the IntelliJ IDEA Project runner).

Starting from the sample plugin in the IntelliJ source (, TeamCity can build the plugin successfully. Once I add a class that implements com.intellij.codeInsight.daemon.impl.HighlightVisitor, though, TeamCity can no longer compile the plugin.

Here is the source (which does build just fine in the IDE):

The jdk in .idea/misc.xml is using a variable idea_sdk_name, which I have configtured to use IDEA IC-123.169.

The TeamCity build logs indicated that the package package com.intellij.codeInsight.daemon.impl doesn't exist, but this is the extension point for the highlightVisitor

How can I configure TeamCity to correctly build a plugin that implements the highlightVisitor language extension point?


You need to make sure that the classpath of the IntelliJ IDEA SDK that you use in your CI build includes idea.jar and not just openapi.jar.


I see; thank you. The default configuration for IDEA Jar Files Patterns under Project JDK actively excluded idea.jar.


Please sign in to leave a comment.