troubles with compilation


Subject: troubles with compilation
From: edu alvarez (soriaedu@hotmail.com)
Date: Thu Oct 31 2002 - 16:06:03 MET


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/



This archive was generated by hypermail 2a22 : Thu Oct 31 2002 - 16:06:40 MET