[Anthill-pro] Agent properties and filtering
Frederic Jean
frederic.jean at ubisoft.com
Thu Apr 10 10:05:57 CDT 2008
On top of agent filtering I would like to add some kind of agent lock
behavior. Let me explain :
As our resources are limited per project, a user in a project would like
to be able to lock a certain agent. So when anthill run a script to
filter agents , it check for that property and if the agent is locked ,
it exclude it.
My first solution would have been to add properties to agent like :
agent.user and agent.islocked so in my script I could fetch those
property and filter accordingly. The problem with this solution is that
there is no way to get agent variable with the SOAP Api or directly
fetching the BD so I could setup a web interface with all the available
agent for their project and let the user lock/unlock an agent depending
their needs.
Also I installed the anthill3-remoting and when I call :
ah3client.cmd getProjectList.bsh
I get this exception :
CLASSPATH=..\conf\client;..\conf\spring-client;..\lib\anthill3-client.ja
r;..\lib\anthill3-drivers.jar;..\lib\bsh-2.0b4-uc1.jar;..\lib\devilfish.
jar;..
\lib\log4j.jar;..\lib\CommonsNet.jar;..\lib\CommonsUtil.jar;..\lib\sprin
g-core.jar;..\lib\spring-beans.jar;..\lib\commons-logging.jar;..\lib\com
mons-l
ang-2.1.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
bsh/Interpreter
Thank you
Frederic
More information about the Anthill-pro
mailing list