I've been struggling to get a simple plugin to work with TeamCity. The posts and online material has been helpful to get things started, but for some reason I can't get a simple plugin to function. Perhaps another set of eyes can find the problem.
Attached is the source along with a zip of the archive you can use to install on the server. It looks similar to a 'getting started' type post from 2008 but adding the init-method didn't work for me.
Here are the details which I think could be the root of any potential problem, otherwise check the 'helloworld.zip' for the installation of the plugin.
<bean id="hello" init-method="register"/>
source code snipit of the plugin
public class BuildServerAdapterHelloWorld extends BuildServerAdapter
private final static Logger LOGGER = Logger.getLogger(BuildServerAdapterHelloWorld.class.getName());
private final SBuildServer myBuildServer;
//Constructor ( Auto wired )
public BuildServerAdapterHelloWorld(SBuildServer aBuildServer)
LOGGER.log(Level.INFO, "Hello World starting...1");
Logger.getAnonymousLogger().log(Level.INFO, "Hello World starting...2");
System.out.println("Hello World Starting...3");
myBuildServer = aBuildServer;
public void register()
Logger.getAnonymousLogger().log(Level.INFO, "Hello World register...2");
public void buildStarted(SRunningBuild build)
LOGGER.log(Level.INFO, "Hello World buildstarted...");
Logger.getAnonymousLogger().log(Level.INFO, "Hello World buildstarted...2");
System.out.println("Hello World buildstarted...");
Any ideas for this novice java programmer?