Subject: Re: R: R: [jade-develop] How to pass arguments?
From: Stephen C. Upton (upton@mitre.org)
Date: Tue Feb 25 2003 - 17:57:22 MET
David,
Try it without the space:
java jade.Boot madrid:trackr.TrackrAgent(knowledgeModule_m)
no space between TrackrAgent and the (
HTH
steve
David Teruel wrote:
> Sorry, I doesn't work.
> This is my command line
>
> java jade.Boot madrid:trackr.TrackrAgent (knowledgeModule_m)
>
> and I get this message
>
> bash: syntax error near unexpected token '(k'
>
> Thanks.
>
> Cortese Elisabetta wrote:
>
> > try with
> >
> > java jade.Boot myAgent:package.AgentClass(Argument0 Argument1 ...)
> >
> > bye
> >
> > > -----Messaggio originale-----
> > > Da: David Teruel [mailto:dteruel@inf.uc3m.es]
> > > Inviato: marted́ 25 febbraio 2003 11.42
> > > A: jade-develop@sharon.cselt.it
> > > Oggetto: Re: R: [jade-develop] How to pass arguments?
> > >
> > >
> > > Thanks for the previour answer.
> > > The last one: how can I pass this arguments by the command
> > > line, not in the
> > > RMA?
> > >
> > > I did: "java jade.Boot myAgent:package.class argument", but I
> > > did not work.
> > >
> > > Thanks again
> > >
> > >
> > > Cortese Elisabetta wrote:
> > >
> > > > Hi,
> > > > you can use getArguments() is a method of Agent class, you
> > > can see api doc.
> > > >
> > > > Elisabetta
> > > >
> > > > > -----Messaggio originale-----
> > > > > Da: David Teruel [mailto:dteruel@inf.uc3m.es]
> > > > > Inviato: marted́ 25 febbraio 2003 10.42
> > > > > A: jade-develop@sharon.cselt.it
> > > > > Oggetto: [jade-develop] How to pass arguments?
> > > > >
> > > > >
> > > > > Hello everybody.
> > > > > Can anybody tell me how to access the arguments I pass to
> > > the agent in
> > > > > the startup?
> > > > > There's no main method, so how?
> > > > >
> > > > > Thanks.
> > > > >
> > > > > David Teruel Vioque
> > > > > Universidad Carlos III de Madrid.
> > > > > Departamento de Informatica
> > > > >
> > > > > _______________________________________________
> > > > > jade-develop mailing list
> > > > > jade-develop@sharon.cselt.it
> > > > > http://sharon.cselt.it/mailman/listinfo/jade-develop
> > > > > UNSUBSCRIBE INSTRUCTIONS AT
> > > > > http://jade.cselt.it/mailing.htm#unsubscribe
> > > > >
> > > > _______________________________________________
> > > > jade-develop mailing list
> > > > jade-develop@sharon.cselt.it
> > > > http://sharon.cselt.it/mailman/listinfo/jade-develop
> > > > UNSUBSCRIBE INSTRUCTIONS AT
> > http://jade.cselt.it/mailing.htm#unsubscribe
> >
> > _______________________________________________
> > jade-develop mailing list
> > jade-develop@sharon.cselt.it
> > http://sharon.cselt.it/mailman/listinfo/jade-develop
> > UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
> > _______________________________________________
> > jade-develop mailing list
> > jade-develop@sharon.cselt.it
> > http://sharon.cselt.it/mailman/listinfo/jade-develop
> > UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
>
> _______________________________________________
> jade-develop mailing list
> jade-develop@sharon.cselt.it
> http://sharon.cselt.it/mailman/listinfo/jade-develop
> UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
_______________________________________________
jade-develop mailing list
jade-develop@sharon.cselt.it
http://sharon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
This archive was generated by hypermail 2a22 : Tue Feb 25 2003 - 17:54:52 MET