strange problem with build

I'm currently running TeamServer-1457 on debian 3.1 jdk1.6.0-beta2 with
the agent running on the same machine.

The issue I'm having is that when the agent attempts to compile the
code I get the following error:

XXX is not abstract and does not override abstract method
createQueryObject(java.lang.Class]]>,javax.sql.DataSource) in
javax.sql.DataSource
public class HibernateDataSource implements DataSource {
       ^

However, when I cd into the agent's work directory and execute the ant
command from the command line, life is good.

I've verified the agent is running the same jdk as the command line, so
it's not clear what's going on.

Any thoughts?

M

2 comments
Comment actions Permalink

please check if 'system.target.jdk.home' property in 'buildAgent.properties'
file in agent's bin directory
not defined or points to needed jdk version

agent can be run builds under any jdk. To customize jdk for build use 'system.target.jdk.home'
property from agent properties.
--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I'm currently running TeamServer-1457 on debian 3.1 jdk1.6.0-beta2
with the agent running on the same machine.

The issue I'm having is that when the agent attempts to compile the
code I get the following error:

XXX is not abstract and does not override abstract method
<T>createQueryObject(java.lang.Class<T>,javax.sql.DataSource) in
javax.sql.DataSource
public class HibernateDataSource implements DataSource {
^
However, when I cd into the agent's work directory and execute the ant
command from the command line, life is good.

I've verified the agent is running the same jdk as the command line,
so it's not clear what's going on.

Any thoughts?

M



0
Comment actions Permalink

Ah. Looks like that fixed it. Thanks!

M

On 2006-07-21 02:35:25 -0700, Eugene Petrenko
<eugene.petrenko@jetbrains.com> said:

please check if 'system.target.jdk.home' property in
'buildAgent.properties' file in agent's bin directory not defined or
points to needed jdk version

agent can be run builds under any jdk. To customize jdk for build use
'system.target.jdk.home' property from agent properties.



0

Please sign in to leave a comment.