Trouble With Ant Runner

I installed 4.5 and setup a project which uses the Ant runner.  After staring the agent (this is running under linux) I found that the agent doesnt support the Ant Runner.  I looked and saw that in the plugins directory was and ant.jar.  I unzipped the

Now, when I start the agent, it sees the ant plugin but fails to load it with:

[2009-10-27 09:47:34,428]  ERROR - gins.spring.SpringPluginLoader - Failed to initialize spring context for plugin coveragePlugin
java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildEvent
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(
        at java.lang.Class.getDeclaredMethods(
        at org.springframework.util.ReflectionUtils.doWithMethods(
        at org.springframework.util.ReflectionUtils.doWithMethods(

Any ideas what is going on?

1 comment
Comment actions Permalink

I fixed this by deleting everything in the "plugins" directory and then re-running the agent.  It updated itself from the TeamCity server and now supports Ant.



Please sign in to leave a comment.