"Unabler to instantiate listener jetbrains.buildServer.agent.ant.AgentBuildListener"
I have tried to build some of my projects within the build server. While
this works really great for Maven2 based projects, I have big troubles
to get IPR and ANT based projects up running.
Can anyone help? I really don't understand what goes wrong.
I get the following error:
Checking for changes (29s)
Building in /opt/TeamCity/buildAgent/work/Yfx
Getting project sources (49s)
Process output (last 30 lines): /opt/sun-jdk-1.5.0.08/bin/java
-Dbuild.working.dir=/opt/TeamCity/buildAgent/work/Yfx -Dbuild.number=1
-Demma.instrumentation.parameters=-ix -Test -Dipr.file.path=yfx.ipr
-Duser.language=en -Duser.country=US
-Didea.build.server.buildType.id=bt6 -Dos.version=2.6.16-gentoo-r7
-Duser.timezone=Europe/Berlin -Dfile.encoding=ANSI_X3.4-1968
-Dagent.work.dir=/opt/TeamCity/buildAgent/work -Dfile.separator=/
-Dos.arch=i386
-Dbuild.generator.lib=/opt/TeamCity/buildAgent/plugins/iprPlugin/lib/buildGenerator.jar
-Dworking.dir=/tmp/idea3104runner -Duser.name=johannes -Dos.name=Linux
-Dant.task.extensions=jetbrains.buildServer.agent.ant.EchoAntExtension,jetbrains.buildServer.agent.ant.CompilerAntExtension,jetbrains.buildServer.coverage.AntCoverageAdapter,
-Didea.build.agent.port=9090
-Dagent.classpath=/opt/TeamCity/buildAgent/lib/commons-codec-1.3.jar:/opt/TeamCity/buildAgent/plugins/coveragePlugin/lib/buildServerCoverageAgent.jar:/opt/TeamCity/buildAgent/lib/utils.jar:/opt/TeamCity/buildAgent/plugins/ant/lib/ant-nodeps.jar:/opt/TeamCity/buildAgent/lib/buildServerCommonRuntime.jar:/opt/TeamCity/buildAgent/lib/xmlrpc-2.0.1.jar:/opt/TeamCity/buildAgent/plugins/antPlugin/lib/buildServerAntServerLogging.jar:/opt/TeamCity/buildAgent/lib/buildServerServerLogging.jar:/opt/TeamCity/buildAgent/lib/junit-3.8.1.jar:/opt/TeamCity/buildAgent/lib/nanocontainer-1.0-RC-1.jar:/opt/TeamCity/buildAgent/lib/xpp3_min-1.1.3.4.M.jar:/opt/TeamCity/buildAgent/plugins/idea/lib/emma.jar:/opt/TeamCity/buildAgent/lib/buildServerMessages.jar:/opt/TeamCity/buildAgent/lib/buildServerXmlRpcWrapper.jar:/opt/TeamCity/buildAgent/lib/xstream-1.1.2.jar
-Dsuccessful.build.number=1 -Duser.home=/home/johannes
-Didea.build.server.build.id=41 -Dant.home=/usr/share/ant-core
-Dbasedir=/opt/TeamCity/buildAgent/work/Yfx -Dpath.separator=:
-Djunit.generator.lib=/opt/TeamCity/buildAgent/plugins/iprPlugin/lib/buildServerIprRunner.jar
-classpath /usr/share/ant-core/lib/ant-launcher.jar
org.apache.tools.ant.launch.Launcher -lib
/opt/TeamCity/buildAgent/plugins/iprPlugin/lib/bd-ant-extensions.jar:/opt/TeamCity/buildAgent/plugins/iprPlugin/lib/buildGenerator.jar:/opt/TeamCity/buildAgent/lib/buildServerRuntimeUtil.jar:/opt/TeamCity/buildAgent/lib/junit-3.8.1.jar:/opt/TeamCity/buildAgent/plugins/antPlugin/lib/buildServerAntRunntime.jar
-listener jetbrains.buildServer.agent.ant.AgentBuildListener -buildfile
/tmp/idea3104runner/generate.xml Buildfile:
/tmp/idea3104runner/generate.xml BUILD FAILED Unable to instantiate
listener jetbrains.buildServer.agent.ant.AgentBuildListener Total time:
0 seconds
Another question: How do I configure the "global libraries" when I build
an IPR based project?
Thanks,
Johannes Schneider
Please sign in to leave a comment.
Click to "Add Library", type the library name and TC will generate template
for it.
]]>
<include name="*/.jar"/>
</fileset>
</path>
If it is suitable for you (it will contain all jar files under the specified
lib folder) you just have to define "global.library.LIBRARY-NAME.home"
system variable on agents. Otherwise modify include patterns according to
the libary content.
--
Olesya Smirnova
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Johannes Schneider" <shake@web.de> wrote in message
news:eelsfu$9jp$1@is.intellij.net...
>I have tried to build some of my projects within the build server. While
>this works really great for Maven2 based projects, I have big troubles to
>get IPR and ANT based projects up running.
>
>
>
>
Thanks for your reply. Will try this out.
But what about the error message "Unabler to instantiate listener
jetbrains.buildServer.agent.ant.AgentBuildListener"?
What does this message mean and how can I get around it?
Johannes Schneider
Olesya Smirnova wrote:
Could you turn "verbose" option on and attach agent console output?
Thanks!
--
Olesya Smirnova
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Johannes Schneider" <shake@web.de> wrote in message
news:eerp3j$qu4$1@is.intellij.net...
>
>
>
>
>
>> Click to "Add Library", type the library name and TC will generate
>> template
>> for it.
>>
>> >> >>]]> <include name="*/.jar"/>
>> </fileset>
>> </path>
>>
>> If it is suitable for you (it will contain all jar files under the
>> specified
>> lib folder) you just have to define "global.library.LIBRARY-NAME.home"
>> system variable on agents. Otherwise modify include patterns according to
>> the libary content.
>>
Can you tell me, where?
Johannes Schneider
Olesya Smirnova wrote:
In the agent installation directiry should be 'bin' subdirectory containing
'output.log' with console output and 'team-server.log' with logs.
--
Olesya Smirnova
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Johannes Schneider" <shake@web.de> wrote in message
news:ees1cn$rpm$1@is.intellij.net...
>
>
>
>> Could you turn "verbose" option on and attach agent console output?
>> Thanks!
>>