How to build IntelliJ plugin in TeamCity using Ant?

Hi all,

I'm trying to configure TeamCity to build an IntelliJ plugin using Ant. The problem is I don't know where the IntelliJ OpenApi jar files are - I assume they're available in the agent somewhere. In my Ant build file I have a property that I use when compiling locally that points to the folder within my IntelliJ install containing the jars - what would be the equivalent in a TeamCity Ant build?

Cheers,
Colin

1 comment

I managed to fix this using the following property: -Ddir.idea=%system.teamcity.idea.home%

Cheers,
Colin

0

Please sign in to leave a comment.