How to launch TeamCity 4.0's IPR runner from a command line to build jars?


I've heard that TeamCity 4.0 will close a gaping DRY hole in the IDEA deployment story by allowing jars configured by a developer in IDEA to be built in TeamCity.

However, from our perspective, this will still be nearly useless unless the IPR can be launched from our release build wrapper.

Is there some Java code we could use that will allow us access to the IPR runner, or even better, will an IPR launcher command line be exposed to us (similar to how we can launch the NUnitLauncher for .Net projects)?

Otherwise, we'll have to set up a "dummy release" TeamCity config with an IPR runner, configuring the build.xml as an artifact. The dummy config emits the build XML, then triggers the real release build config, which calls our wrapper, which calls Ant on the build.xml artifact. Major Ugh. Not that I'm a fan, but I have to point out that Microsoft made sure early on that their Visual Studio solutions could be run from a command line, including their deployment projects.


1 comment
Comment actions Permalink

Sorry for long the delay. The question is still actual with latest TeamCity release?

Kind regards,

Please sign in to leave a comment.