This Question is Answered

2 "helpful" answers available (2 pts)
2 Replies Last post: Mar 3, 2013 8:27 PM by Matt Cholick  
Matt Cholick Newbie 14 posts since
Oct 24, 2010
Currently Being Moderated

Mar 3, 2013 3:26 AM

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 (https://github.com/JetBrains/intellij-community/tree/master/samples/plugin), 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):

https://github.com/mcholick/team_city_plugin_test

 

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

(see https://github.com/JetBrains/intellij-community/blob/master/platform/platform-resources/src/META-INF/LangExtensionPoints.xml)

 

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

Dmitry Jemerov Master 12,565 posts since
Aug 19, 2002
Currently Being Moderated
Mar 3, 2013 11:36 AM in response to: Matt Cholick
Re: TeamCity for Plugin CI

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.

More Like This

  • Retrieving data ...