Re: [jade-develop] troubles with compilation


Subject: Re: [jade-develop] troubles with compilation
From: Joan Ametller (jamet@abra.uab.es)
Date: Thu Oct 31 2002 - 17:30:25 MET


Logger class it's needed by class PingAgent and must be at the same directory
that PingAgent.java, so you must compile each two at the same time or compile
first Logger class and then PingAgent.

On Thursday 31 October 2002 16:06, edu alvarez wrote:
> I am following the Tutorial 1: Getting Started with JADE and I can't
> compile the file \src\examples\pingAgent\pingAgent.java. The message which
> is printed out is
>
> /********************************************************************/
> src\examples\pingagent\pingagent.java:145: cannot resolve symbol
> symbol : class Logger
> location: class examples.PingAgent.PingAgent
> logFile = new Logger(getLocalName());
>
> /********************************************************************/
> ^
> In the file PingAgent.java Logger is declarated as follows:
>
> /********************************************************************/
> package examples.PingAgent;
>
> import java.util.Date;
> import java.io.FileWriter;
> import java.io.IOException;
> import java.io.PrintWriter;
> import java.io.OutputStreamWriter;
>
>
> import jade.core.*;
> import jade.core.behaviours.*;
> import jade.lang.acl.ACLMessage;
> import jade.domain.FIPAAgentManagement.ServiceDescription;
> import jade.domain.FIPAAgentManagement.DFAgentDescription;
> import jade.domain.DFService;
> import jade.domain.FIPAException;
>
>
> public class PingAgent extends Agent {
>
> Logger logFile;
>
>
> /********************************************************************/
>
> I don't know where is the problem.Someone can help me?
>
> _________________________________________________________________
> MSN. Más Útil Cada Día http://www.msn.es/intmap/
>
> _______________________________________________
> 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

-- 
------------------------------------------------
Joan Ametller Esquerra
Unitat de Combinatòria i Comunicació Digital
Universitat Autònoma de Barcelona
08193 Bellaterra, Spain
Despatx QC/2041
e-mail: jametller@ccd.uab.es
------------------------------------------------



This archive was generated by hypermail 2a22 : Thu Oct 31 2002 - 17:33:12 MET